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