Section .12 in C&CF


Can't get past section 12 in Conditions&Control Flow Here's what it starts with

def using_control_once():
if _______:
return "Success #1"

def using_control_again():
if _______:
return "Success #2"

print using_control_once()
print using_control_again()


You should fill it with an expression that is true. As an example

10 > 1 # That's true, right?

SO, just replace the underscores with two expressions that are True.
After this the code calls to each function, and if they are true the output will be

Success #1
Success #2




This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.