Coding Quiz
Level 2, 2026-12-02
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=8
Q=1
B=E - Q
Print(B)
[1]
Y="B"
Print("Y")
[1]
#Print("A")
#Print("B")
Print("C")
[1]
X="d"
Print("X")
[1]
def Hello(Q,type)
    if (!Q) return
    if (type=="good"):
        VAR="Hi "
    elif (type=="bad"):
        VAR="Boo "
    else:
        VAR="Bye"
    return VAR + " " + Q

Y = Hello("","good")
Print(Y)
[1]
Y=0
A=0
while (Y<3):
    Y=Y+1
    A=A+2
Print(Y+","+A)

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

Q = Hello("Missy","bad")
Print(Q)
[1]
Z="D"
X="F"
Print(X+Z)
[1]
Y="d"
Y="4"
Print(Y)
[1]
def DoSum(B,Q)
    F=B - Q
    return F

VAR=DoSum(7,9)
Print(F)
[1]
VAR=4
Print(VAR)

def MyFunction (VAR):
    VAR=VAR+2
    Print(VAR)

MyFunction(3)
Print(VAR+3)

[1]
def DoSum(E,Y)
    F=E * Y
    return F

DoSum(3,3)
Print("F")
[1]
def DoSum(Y,Q,Z)
    VAR=Z - Q - Y
    Print(VAR)

DoSum(4,4,3)
[1]
def DoSum(Z,F)
    A=Z - F
    return A

B=DoSum(2,6)
Print(A)
[1]
E="F"
Print("E")
[1]
def DoSum(X,Y)
    F=X + Y
    return F

Y=DoSum(3,7)
Print(F)
[1]
if (True and True):
    Print(1)
elif (True or True):
    Print(2)
else:
    Print(3)
[1]
X="F"
X="1"
Print(X)
[1]
def Hello(F)
  Y="Hi " + F

Hello("Felix")
[1]