#CONDITIONAL LOGIC
# is_old = True
# is_licenced = True
# if is_old and is_licenced: #if condition:
# print('You are old enough to drive and you have a licence.')
# else:
# print('You are not of age.')
# #Truthy and Falsy -> can do in the if condition
# print(bool('hello'))
# print(bool(''))
# print(bool(None))
# #Ternary Operator -> can be used certain conditional logic
# #condition_if_true if condition else condition_if_else
# is_friend = True
# can_message = 'message allowed' if is_friend else 'not allowed to message'
# print(can_message)
# #Short Circuiting
# is_friend = True
# is_user = True
# if is_friend or is_user:
# print('best friend forever')
#Logical Operators
# and, or, >, <, <=, >=, ==, !=, not(expression)
#Exercise
# is_magician = True
# is_expert = False
# if is_magician and is_expert:
# print('You are a master magician')
# elif is_magician or is_expert != True:
# print('At least you are getting there')
# else:
# print('You need magic powers')
# is vs == -> '==' checks for equality, 'is' checks location of the memory