Level 1: Basics (Easy)

1. Which of the following is a valid way to create a list in Python?
2. What is the output of print(type(5.0))?
3. How do you add a single item to the end of a list in Python?

Level 2: Core Concepts (Medium)

4. What will print("Hello" + "World") output?
5. Which of the following is an immutable data structure?
6. How do you define a function in Python?

Level 3: Flow Control (Important)

7. What is the correct syntax for an if-else statement in Python?
8. What does the range(5) function generate?
9. How do you access the value associated with the key "name" in dictionary d = {"name": "Rajan"}?

Level 4: Advanced Python (Important)

10. What is the purpose of the try...except block?
11. Which library is primarily used for multidimensional arrays and math in Data Science?
12. Which library is primarily used for DataFrames and data manipulation?

Level 5: Syntax Check

13. How do you find the number of elements in a list my_list?
14. What is the output of print(3 ** 2)?
15. How do you write a comment in Python?

0/15

Calculating your Python skills...

Detailed Feedback

Here are the concepts you need to review:

Your progress has been saved locally.