# ternary operator
# aka conditional expression

# condition_if_true if condition else condition_if_else

is_friend = True
can_message = 'message allowed' if is_friend else 'message not allowed' 

print(can_message)