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