Introduction Fill in the Blanks
- Python was created by ________ in 1991. (Guido van Rossum)
- Python uses ________ for code blocks instead of braces. (indentation)
- Python is known for its ________ and readability. (simplicity)
Basics Fill in the Blanks
- In Python, variables are created by ________ a value. (assigning)
- The data type for whole numbers is ________. (int)
- The operator for exponentiation is ________. (**)
- A ________ loop repeats as long as a condition is true. (while)
- Functions are defined using the ________ keyword. (def)
Intermediate Fill in the Blanks
- ________ are mutable sequences in Python. (Lists)
- ________ are immutable and created with parentheses. (Tuples)
- Dictionaries store data as ________ pairs. (key-value)
- To open a file for reading, use mode ________. ('r')
- The ________ statement ensures files are properly closed. (with)
Advanced Fill in the Blanks
- ________ is the method called when an object is created. (__init__)
- ________ handles runtime errors in Python. (Exceptions)
- ________ sort is a simple sorting algorithm. (Bubble)
- ________ is a library for data manipulation. (Pandas)
- ________ is used for plotting in Python. (Matplotlib)