<reponame>raff/gopyr<filename>tests/if.py<gh_stars>1-10
# test if/then/else

if True:
    print("single if")
    print("only one")

if True:
    print("if else if")
    print("this is the if")
elif False:
    print("this is the else")
    print("and we are done")

if True:
    print("if then else")
    print("this is the if")
else:
    print("this is the else")
    print("and we are done")

if True:
    print("yes")
    print("sure")
elif False:
    print("no")
    print("never")
else:
    print("I don't know")
    print("whatever")


if 1:
    print("uno")
elif 2:
    print("due")
elif 3:
    if "a":
        print("alabama")
    else:
        print("zanzibar")

    a = 1
    b= 2
else:
    print("quarantaquattro")

if True:
    print("yes")

# test if/then/else

if True:
    print("single if")
    print("only one")

if True:
    print("if else if")
    print("this is the if")
elif False:
    print("this is the else")
    print("and we are done")

if True:
    print("if then else")
    print("this is the if")
else:
    print("this is the else")
    print("and we are done")

if True:
    print("yes")
    print("sure")
elif False:
    print("no")
    print("never")
else:
    print("I don't know")
    print("whatever")


if 1:
    print("uno")
elif 2:
    print("due")
elif 3:
    if "a":
        print("alabama")
    else:
        print("zanzibar")

    a = 1
    b= 2
else:
    print("quarantaquattro")

if True:
    print("yes")
# test if/then/else