Coding Quiz
Level 1, 2025-11-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 DoSum(A,B) F=A + B Print(F)
DoSum(1,3)
| [1]
|
|
|
|
def DoSum(VAR,B) A=VAR + B Print(A)
DoSum(4,6)
| [1]
|
|
|
def DoSum(X,A) E=X + A Print(E)
DoSum(9,2)
| [1]
|
|
|
|
|
Z=6 Q=3 VAR=Z - Q Print(VAR)
| [1]
|
|
def DoSum(Y,Q) Z=Y * Q Print(Z)
DoSum(3,2)
| [1]
|
|
|
|
|
def Hello(Y) Q="Hi " + Y Print(Q)
Hello("Julie")
| [1]
|
|
|
|