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