Coding Quiz
Level 2, 2026-09-15
All code is in Python. Operations with strings and numbers are not allowed. Ordering of string characters: !,A,1,a (meaning 'A' < 'a').
Special Symbols:    Blank:      Space:      Error: E
E="C"
Print("E")
[1]
VAR="7"
VAR="A"
Print(VAR)
[1]
Z="5"
Z="G"
Print(Z)
[1]
E=0
F=""
while (E<8):
    E=E+1
    F=F+"X"
Print(F)

[1]
B=4
if B < 1:
  Print("Yes")
else:
  Print("No")
[1]
def Hello(VAR,type)
    if (type=="good"):
        Q="Hi "
    else:
        Q="Bye"
    Print(Q+" "+VAR)

Hello("Felix","bad")
[1]
B=True
Y=False
if B == False:
    Print(1)
elif Y == False:
    Print(2)
else:
    Print(3)
[1]
def DoSum(E,VAR)
    F=E + VAR
    return F

VAR=DoSum(4,8)
Print(F)
[1]
if False:
    Print(1)
elif False:
    Print(2)
else:
    Print(3)
[1]
F="f"
Y="F"
Print(Y+F)
[1]
def Hello(Z,type)
    if (type=="good"):
        E="Hi "
    else:
        E="Bye"
    Print(E+" "+Z)

Hello("Missy","good")
[1]
F=0
VAR=0
while (F<1):
    F=F+1
    VAR=VAR+9
Print(F+","+VAR)

[1]
Q=6
A=5
if Q <= A:
    Print("Yes")
else:
    Print("No")
[1]
X=8
if E > 7:
    Print("Yes")
else:
    Print("No")
[1]
Y="G"
Print("Y")
[1]
def Hello(VAR,type)
    if (type=="good"):
        B="Hi "
    elif (type=="bad"):
        B="Boo "
    else:
        B="Bye"
    Print(B+" "+VAR)

Hello("Melissa","bad")
[1]
def Hello(Y,type)
    if (!Y) return
    if (type=="good"):
        X="Hi "
    elif (type=="bad"):
        X="Boo "
    else:
        X="Bye"
    return X + " " + Y

F = Hello("","good")
Print(F)
[1]
Y="g"
Print("Y")
[1]
if True:
    Print(1)
elif True:
    Print(2)
else:
    Print(3)
[1]
Q="b"
Print("Q")
[1]