Coding Quiz
Level 1, 2025-09-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
Z=9 VAR=2 A=Z * VAR Print(A)
| [1]
|
|
def DoSum(E,X) Z=E + X Print(Z)
DoSum(9,8)
| [1]
|
|
|
def Hello(F) X="Hi " + F Print(X)
Hello("Edward")
| [1]
|
|
|
|
|
|
def DoSum(E,A) Z=E * A Print(Z)
DoSum(2,9)
| [1]
|
|
|
X=6 if X == 6: Print("Yes") else: Print("No")
| [1]
|
|
|
|
|
|
|
def Hello(Q) VAR="Hi " + Q Print(VAR)
Hello("Mike")
| [1]
|
|
def DoSum(Q,X) F=Q - X Print(F)
DoSum(6,6)
| [1]
|
|
VAR=6 F=9 B=VAR * F Print(B)
| [1]
|
|
|
|