Quiz

Python Basics Quiz

  1. 01.

    What is the output of print(type([]))?

  2. 02.

    Which keyword is used to create a function in Python?

  3. 03.

    Which keyword is used to handle exceptions?

  4. 04.

    Which method adds an item to a list?

  5. 05.

    Which function is used to get a number from the user?

  6. 06.

    What is an empty set in Python?

  7. 07.

    Which statement ends a loop immediately?

  8. 08.

    What is the result of 10 % 3?

  9. 09.

    Which keyword is used for 'else if' in Python?

  10. 10.

    How do you write 'a is equal to b' in Python?