AllInfoHub Logo

AllInfoHub – MCQ Practice

Data Types and Variables – Multiple Choice Questions (MCQs)

  1. 49. What will be the output of `print(type({1, 2}))`?

    • A. <class 'list'>
    • B. <class 'tuple'>
    • C. <class 'set'>
    • D. <class 'dict'>
  2. 50. Which method is used to get all values from a dictionary?

    • A. values()
    • B. items()
    • C. keys()
    • D. get()