A City Tech OpenLab ePortfolio

Lab 04 Conditionals and Control Flow

Lab Description:

Learn how to use basic control flows, boolean operators, comparators and conditional statements all in one code.

Code:

def the_flying_circus():
if clowns == “‘are scary'”:
return True
elif clowns == “‘are not scary'”:
return not True
else:
return “‘what are you thinking'”

 

 

Screenshots:

conditions n things