Fame World Educational Hub

Python

1 / 10

What is the correct syntax to create a dictionary in Python?

2 / 10

How do you import a module named 'math' in Python?

3 / 10

What will be the output of 'print(bool(0))'?

4 / 10

Which of the following is a mutable data type in Python?

5 / 10

How do you start a comment in Python?

6 / 10

Which of the following is NOT a valid variable name in Python?

7 / 10

What is the output of 'print(3 * '5')'?

8 / 10

What does the len() function do?

9 / 10

Which keyword is used to define a function in Python?

10 / 10

What is the correct file extension for Python files?

Your score is

The average score is 0%

0%