Data types, control flow, functions, and the most important data structures.
Questions
12
Level
Beginner
Area
Programming & data · Programming languages
Learning path
Basics
Modules
Datentypen und Ausdrücke
Kontrollfluss
Funktionen und Datenstrukturen
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.