Python Fundamentals – quiz with 12 questions

Data types, control flow, functions, and the most important data structures.

Questions
12
Level
Beginner
Area
Programming & data · Programming languages
Learning path
Basics

Modules

Sample question

Was gibt print(type(3 / 2)) in Python 3 aus?

  • <class 'int'>
  • <class 'float'>
  • <class 'str'>
  • <class 'decimal'>

Correct: <class 'float'>. Der Operator / liefert in Python 3 immer eine Gleitkommazahl (1.5). Ganzzahldivision schreibt man mit //.

More questions from the quiz

  • Welcher Ausdruck liefert den Rest einer Ganzzahldivision?
  • Welcher dieser Datentypen ist veränderbar (mutable)?
  • Was ergibt der Ausdruck "Python"[1:4]?
  • Welche Zahlen erzeugt range(2, 8, 2)?
  • Welches Schlüsselwort beendet eine Schleife sofort?

The questions and explanations are in German – checked by experts, not machine-translated.

After every answer, Quizbot explains why it is right or wrong. Open questions come first, and progress is counted per topic. The quiz is free of charge; no account is needed.

As of 15.11.2026 · All quizzes

Quizbot – a project by AI SYSTEM, St. Gallen · Home