Exercise 12 out of 15- Is My Code Wrong?


#1

def using_control_once():
if 1 < 2:
True return "Success #1"

def using_control_again():
if 2 > 1:
True return "Success #2"

print using_control_once()
print using_control_again()


#2

Just remove the 'True" before return

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

def using_control_again():
    if 1 == 1:
        return "Success #2"

print using_control_once()
print using_control_again()