Coding Quiz
Level 3, 2026-08-01
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 Hello(X) A="Hi " + X Print(A)
Hello("Edward")
| [1]
|
|
VAR=3 if VAR == 2: Print("Yes") else: Print("No")
| [1]
|
|
def DoSum(Q,E) A=Q + E return A
DoSum(3,7) Print(A)
| [1]
|
|
VAR=0 while (VAR<3): VAR=VAR+1 Print("X")
| [1]
|
|
def DoSum(X,Q,E) F=X - E + Q Print(F)
DoSum(6,5,5)
| [1]
|
|
def Hello(B) E="Hi " + B
Hello("Mike")
| [1]
|
|
def Hello(A) Y="Hi " + A Print(Y)
Hello("Julie")
| [1]
|
|
def DoSum(Z,F,VAR) B=F + Z - VAR Print(B)
DoSum(5,1,5)
| [1]
|
|
def Hello(Y,type) if (type=="good"): B="Hi " elif (type=="bad"): B="Boo " else: B="Bye" Print(B+" "+Y)
Hello("Octavian","good")
| [1]
|
|
def Hello(VAR,type) if (type=="good"): Y="Hi " elif (type=="bad"): Y="Boo " else: Y="Bye" Print(Y+" "+VAR)
Hello("Mike","good")
| [1]
|
|
|
VAR=9 if VAR != 2: Print("Yes") else: Print("No")
| [1]
|
|
def DoSum(X,F) E=X + F return E
DoSum(8,1) Print(E)
| [1]
|
|
def DoSum(Y,E,F) X=Y * E - F Print(X)
DoSum(7,7,1)
| [1]
|
|
B=9 Q=6 if B <= Q: Print("Yes") else: Print("No")
| [1]
|
|
def DoSum(E,A) F=E * A return F
DoSum(5,8) Print(F)
| [1]
|
|
|
VAR=3 A=1 if VAR > A: Print("Yes") else: Print("No")
| [1]
|
|
def Hello(VAR) E="Hi " + VAR Print(E)
Hello("Felix")
| [1]
|
|
def DoSum(B,F,Q) A=B - F - Q Print(A)
DoSum(2,7,3)
| [1]
|
|
|