Coding Quiz
Level 5, 2026-11-03
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
def isCool(A):
    B = false
    if A > 7:
        B = true
    return B

def isFool(F):
    Z = false
    if F < 2:
        Z = true
    return Z

F = 4
Print(F)
if isCool(F):
    Print("!")
elif isFool(F):
    Print("?")
else:
    Print("X")
[2]
Z="a"
B="B"
Print("Z"+B)
[1]
def doThis(B):
    A=B - 9
    return A

def doThat(Y):
    Y=Y + 3
    return Y

F = doThis(3)
F = doThat(F)
Print(F)
[2]
def DoSum(Y,E,Z)
    VAR=E - Z + Y
    Print(VAR)

DoSum(6,3,4)
[1]
def Hello(VAR,type)
    if (type=="good"):
        F="Hi "
    else:
        F="Bye"
    Print(F+" "+VAR)

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

Hello("Flip","ok")
[1]
B="4"
Q="D"
Print(B+Q)
[1]
B=0
A=0
while (B<9):
    B=B+1
    A=A+8
Print(B+","+A)

[1]
F = ""
B = "B"
F = 6
VAR = 7
A = F+"F"
Print(A)
[1]
Q = 4
Y = 6
if Q != 7:
    Print("1")
    if Y != 1:
        Print("2")
    else:
        Print("3")
elif Q < 4:
    Print("4")
    if Y >= 8:
        Print("5")
    else:
        Print("6")
else:
    Print("7")
    if Y <= 4:
        Print("8")
    else:
        Print("9")
[2]
VAR=0
Y=0
while (VAR<1):
    VAR=VAR+1
    Y=Y+5
Print(VAR+","+Y)

[1]
B=1
for VAR in range(4):
    for VAR in range(2):
        B = B * VAR

Print(B)
[2]
Y=5
A=3
if Y < A:
    Print("Yes")
else:
    Print("No")
[1]
def doThis(Y):
    B=Y + 7
    return B

def doThat(B):
    Q=B + 1
    return Q

X = doThis(8)
X = doThat(X)
Print(X)
[2]