Quiz

Python Basics Quiz

  1. 01.

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

  2. 02.

    What does len('hello') return?

  3. 03.

    What is the output of 'apple'.upper()?

  4. 04.

    What is the value of 3 // 2?

  5. 05.

    What does the 'pass' statement do?

  6. 06.

    Which method removes the last element from a list?

  7. 07.

    Which list method sorts the list in place?

  8. 08.

    What is the result of 'hello' + 'world'?

  9. 09.

    Which method adds an element to a set?

  10. 10.

    What is the output of print(2 ** 3)?