Coding Quiz
Level 2, 2026-10-14
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="e" F="F" Print(E+"F")
| [1]
|
|
def DoSum(Z,A,F) Y=F - Z + A Print(Y)
DoSum(7,9,3)
| [1]
|
|
Print("A") Print("B") #Print("C")
| [1]
|
|
F="b" B="D" Print(F+"B")
| [1]
|
|
Z=0 Q=1 while (Z<3): Z=Z+1 Q=Q*Z Print(Q)
| [1]
|
|
|
if (False and True): Print(1) elif (False or True): Print(2) else: Print(3)
| [1]
|
|
if (True and True): Print(1) elif (True or True): Print(2) else: Print(3)
| [1]
|
|
def DoSum(VAR,Z) Y=VAR * Z Print(Y)
DoSum(8,7)
| [1]
|
|
|
Q="d" F="F" Print("Q"+F)
| [1]
|
|
E=3 if E == 8: Print("Yes") else: Print("No")
| [1]
|
|
Q=0 B=0 while (Q<2): Q=Q+1 B=B+7 Print(Q+","+B)
| [1]
|
|
|
if True: Print(1) elif True: Print(2) else: Print(3)
| [1]
|
|
E=True Y=False if E != False: Print(1) elif Y != True: Print(2) else: Print(3)
| [1]
|
|
def DoSum(X,A) F=X - A return F
DoSum(3,7) Print("F")
| [1]
|
|
A="f" Z="A" Print(A+"Z")
| [1]
|
|
|
|