# age = input('please enter your age:')

# if int(age) >= 18:
#      print('adult')

# elif int(age) >= 6:
#     print('underage')
#     print('You cannot drink alcohol')

# else: 
#     print('kiddo')

'''ex1'''
# print('This is going to calculate your BMI')
# weight = input('Please enter your weight in kg:')
# height = input('Please enter your height in m:')

# def calculate_BMI (weight, height):
#     BMI = weight / (height * height)

# print('Your BMI equals {:.1f}'.format(BMI))
# if BMI <= 18.5:
#     print('underweight')
# elif 18.5 < BMI < 25:
#     print('Normal weight')
# elif 25 <= BMI < 29.9:
#     print('Overweight')
# else:
#     print('Obesity')


'''session 6 ex2'''
# def compare(varA, varB):
#     if isinstance(varA, str) or isinstance(varB, str):
#         print('string involved') 
        
#     else:
#         if varA > varB:
#             print('bigger')
#         elif varA == varB:
#             print('equal')
#         else:
#             print('smaller')

# a = 'hello'
# b = 3
# c = 5

# compare(a,b)
# compare(b,c)


'''CodingBat ==> python ==> Logic 1 ==> Cigar party'''
# def cigar_party(cigars, is_weekend):
#   if is_weekend and cigars >= 40:
#     return True
#   else: 
#     if 40<= cigars <= 60:
#       return True
#     else:
#        return False

# return(cigar_party(30, False))
# return(cigar_party(50, False))
# return(cigar_party(70, True)) 












a6612344be4172a1050a77d5c6b9d0ff649a1ec3
<mask token>

# age = input('please enter your age:')

# if int(age) >= 18:
#      print('adult')

# elif int(age) >= 6:
#     print('underage')
#     print('You cannot drink alcohol')

# else: 
#     print('kiddo')

'''ex1'''
# print('This is going to calculate your BMI')
# weight = input('Please enter your weight in kg:')
# height = input('Please enter your height in m:')

# def calculate_BMI (weight, height):
#     BMI = weight / (height * height)

# print('Your BMI equals {:.1f}'.format(BMI))
# if BMI <= 18.5:
#     print('underweight')
# elif 18.5 < BMI < 25:
#     print('Normal weight')
# elif 25 <= BMI < 29.9:
#     print('Overweight')
# else:
#     print('Obesity')


'''session 6 ex2'''
# def compare(varA, varB):
#     if isinstance(varA, str) or isinstance(varB, str):
#         print('string involved') 
        
#     else:
#         if varA > varB:
#             print('bigger')
#         elif varA == varB:
#             print('equal')
#         else:
#             print('smaller')

# a = 'hello'
# b = 3
# c = 5

# compare(a,b)
# compare(b,c)


'''CodingBat ==> python ==> Logic 1 ==> Cigar party'''
# def cigar_party(cigars, is_weekend):
#   if is_weekend and cigars >= 40:
#     return True
#   else: 
#     if 40<= cigars <= 60:
#       return True
#     else:
#        return False

# return(cigar_party(30, False))
# return(cigar_party(50, False))
# return(cigar_party(70, True)) 











