Versatile high-level programming language. Play Python Programming Language trivia solo to sharpen your knowledge, or challenge a friend head-to-head in Trivia Tango — every question comes with an explanation so you learn as you play.
Think you know the answers? Play to find out.
Created by Guido van Rossum in 1991, this language was named after a British comedy troupe, not a snake.
Programmers use this character to write notes that the interpreter completely ignores when running the code.
This built-in function displays output to the console, and it's typically the first thing beginners learn to use.
This data type stores whole numbers like 42 or -7, without any decimal points.
This data type represents text and must be enclosed in single or double quotes when defined.
This data type has only two possible values and is used for logical conditions and comparisons.
This arithmetic operator performs exponentiation, raising a number to the power of another.
Unlike many other languages, this character is not needed at the end of statements to mark their completion.