Coding Quiz
Level 3, 2026-09-12
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
|
B=2 B=2 if B > B: Print("Yes") else: Print("No")
| [1]
|
|
def Hello(Z) X="Hi " + Z Print(X)
Hello("Jenny")
| [1]
|
|
F=True Q=False if F == False: Print(1) elif Q == False: Print(2) else: Print(3)
| [1]
|
|
|
def Hello(Z,type) if (type=="good"): B="Hi " else: B="Bye" Print(B+" "+Z)
Hello("Max","good")
| [1]
|
|
|
Y=5 if Q == 3: Print("Yes") else: Print("No")
| [1]
|
|
def DoSum(A,B,Z) Q=A + B + Z Print(Q)
DoSum(7,4,1)
| [1]
|
|
|
def Hello(Z,type) if (type=="good"): B="Hi " else: B="Bye" Print(B+" "+Z)
Hello("Octavian","good")
| [1]
|
|
|
#Print("A") Print("B") Print("C")
| [1]
|
|
Q=2 Print(Q)
def MyFunction (Q): Q=Q+2 Print(Q)
MyFunction(4) Print(Q+2)
| [1]
|
|
Q=9 if Q < 9: Print("Yes") else: Print("No")
| [1]
|
|
def DoSum(Z,F) B=Z * F return B
E=DoSum(3,8) Print(B)
| [1]
|
|
E=0 VAR=0 while (E<4): E=E+1 VAR=VAR+9 Print(E+","+VAR)
| [1]
|
|
def Hello(VAR,type) if (type=="good"): F="Hi " elif (type=="bad"): F="Boo " else: F="Bye" Print(F+" "+VAR)
Hello("Max","ok")
| [1]
|
|
VAR=8 A=6 if VAR != A: Print("Yes") else: Print("No")
| [1]
|
|
VAR=0 Z="" while (VAR<2): VAR=VAR+1 Z=Z+"X" Print(Z)
| [1]
|
|
|