Coding Quiz
Level 1, 2024-11-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
|
F=6 if F < 7: Print("Yes") else: Print("No")
| [1]
|
|
E=9 if E > 3: Print("Yes") else: Print("No")
| [1]
|
|
|
|
VAR=8 F=7 Y=VAR * F Print(Y)
| [1]
|
|
|
|
|
|
Y=3 VAR=1 X=Y - VAR Print(X)
| [1]
|
|
E=3 if E <= 5: Print("Yes") else: Print("No")
| [1]
|
|
def Hello(VAR) B="Hi " + VAR Print(B)
Hello("Octavian")
| [1]
|
|
def DoSum(Y,X) E=Y * X Print(E)
DoSum(1,5)
| [1]
|
|
def Hello(Y) Z="Hi " + Y Print(Z)
Hello("Felix")
| [1]
|
|
|
|
|
def Hello(X) E="Hi " + X Print(E)
Hello("Missy")
| [1]
|
|
|
|