🐍 Python Quiz

GUESS THE OUTPUT

Can you predict what this Python code will print?

Read a short piece of Python code, think about what it does, and pick the output you believe is correct. No experience needed — every answer comes with a simple explanation, so you learn as you play!

How to play

  1. 1 Read the Python code on the screen.
  2. 2 Choose one answer: A, B, C or D.
  3. 3 Press CHECK ANSWER to see if you were right.
  4. 4 Read the explanation and move on to the next question.
Question 1 of 10 Easy Score: 0

What will be the output of this code?

main.py
🏁 Game complete

Your Results

0%

0 / 10

0Correct
0Incorrect