Python Basic Concepts Exam

Exam Rules:

10:00

1. Which of the following is used to define a block of code in Python?

2. What is the output of: print(3 * 'hi')?

3. Which function is used to get input from the user in Python?

4. What does the len() function do?

5. Which of these collections defines a list in Python?

Exam Results

Your score: 0/5