Python Basic Part 2 Quiz

Python Basic Part 2 Quiz takes learners a step further into the world of python, where small lines of code can perform surprisingly powerful tasks. A fun fact is that Guido van Rossum designed functions to make programming reusable; inspired by the way mathematicians use formulas repeatedly without rewriting them each time. Loops, on the other hand, allow actions to be repeated effortlessly, almost like giving instructions to a friend and having them follow the same steps automatically. This approach makes code both shorter and easier to manage. The quiz provides a playful way to explore how loops and functions work together, showing how Python’s clever design simplifies programming for beginners and makes learning satisfying.

Report a question

You cannot submit an empty report. Please add some details.
Launch Python Basic Part 2 Quiz

Python Basic Part 2

In Python what will print(5 * 2) show?

In Python what is the output of print(10/2)?

Which symbol is used for exponentiation (power) in Python?

In Python which of the following is a valid variable name?

In Python what does the input() function do?

In Python what is the result of len("Python")?

In Python what keyword is used to make decisions in Python?

In Python which statement repeats a block of code multiple times?

In Python what will for i in range(3): print(i) display?

In Python what keyword is used to define a function?

Your score is

The average score is 0%

0%

Sample Questions from This Quiz

  1. In Python what will for i in range(3): print(i) display?
  2. In Python what will print(5 * 2) show?
  3. In Python what is the output of print(10/2)?
  4. Which symbol is used for exponentiation (power) in Python?
  5. In Python which of the following is a valid variable name?

Try the full quiz and see how many of these you can answer!

Beyond Python Basic Part 2 Quiz

Harry Potter Part 1 Quiz

Harry Potter Part 1

Cast your spell and see if knowledge works like magic!

Launch Python Basic Part 3 Quiz

Python Basic Part 3

Lists and Booleans are plotting something sneaky again!

Germany Part 1 Quiz

Germany Part 1

Test your brain before Germany tests your map skills!

Guess The Footballer Part 1 Quiz

Guess The Footballer 1

Test your memory before the referee blows the whistle!

Launch Quadratic Equation Part 1 Quiz

Quadratic Equation Part 1

Roots, sums and products plotting to test your brain!

US Presidents Part 1 Quiz

US Presidents Part 1

A quiz so easy even US Presidents might pass!

Launch Python Basic Part 4 Quiz

Python Basic Part 4

Strings that shout, loops that skip, and code that giggles!

Indigenous Tribes Quiz

Indigenous Tribes

Learn about cultures older than your favourite playlist!

Launch FIFA World Cup 2018 Quiz

FIFA World Cup 2018

Test your memory before VAR checks your answers!

Polygons Quiz

Polygons

Sides may differ, but every polygon deserves equal respect!

Everyday Brands Quiz

Everyday Brands

Grocery names can turn into unexpected brainy fame!

Launch Python Basic Part 1 Quiz

Python Basic Part 1

Code like a pro, or at least like a curious beginner!

Cave Paintings Quiz

Cave Paintings

Prehistoric art class where stick figures look advanced!

Ayrton Senna Part 1 Quiz

Ayrton Senna Part 1

Pit stop your day with a quick Senna trivia lap!

Straight Line Part 1 Quiz

Straight Line Part 1

Straight lines never bend, but your brain might today!

Words Of Greek Origin Quiz

Words Of Greek Origin

Where Zeus meets your coffee break vocabulary!