placeholder image to represent content

Python

Quiz by kin黃偉健

Our brand new solo games combine with your quiz, on the same screen

Correct quiz answers unlock more play!

New Quizalize solo game modes
6 questions
Show answers
  • Q1
    Which of the following is used to comment a single line in Python?
    //
    #
    --
    /* */
    30s
  • Q2
    What is the result of the expression '3 + 4 * 2' in Python?
    10
    7
    11
    14
    30s
  • Q3
    What is the correct way to initialize an empty list in Python?
    None
    ()
    []
    {}
    30s
  • Q4
    What is the symbol used for assignment in Python?
    :
    =
    +
    -
    30s
  • Q5
    Which of the following is used to print a message to the console in Python?
    write
    print
    read
    display
    30s
  • Q6
    What is the output of the following code?x = 5y = 3.7result = x + yprint(result)
    57
    15
    8.7
    2
    30s

Teachers give this quiz to your class