Python Programming Intermediate Quiz 5

Select your answers and check your results. Use Reset to start again.
Practice Pronunciation (Merriam-Webster)
Navigation
Intermediate Quiz 5
1. How do you check if a list is empty?
2. What is the output of print(bool([]))?
3. How do you get the value for key "k" in dictionary d, or None if not found?
4. How do you raise an exception in Python?
5. Which function returns the largest integer less than or equal to a number?
6. How do you import the random module?
7. How do you check if a string s starts with "py"?
8. What is the output of print("Hello"[-1])?
9. What does list.sort() do?
10. How do you join a list of strings with comma separator?
Previous Next
Other
Timer
00:00

Vocabulary Quiz
Score: 0

Spin the Wheel
Promo's

Explore More