A student is learning Python in the interactive interpreter mode. The student issues the command: What is the data type reported by Python?

IT Questions BankCategory: DevNetA student is learning Python in the interactive interpreter mode. The student issues the command: What is the data type reported by Python?

A student is learning Python in the interactive interpreter mode. The student issues the command:

>>> type(True)

What is the data type reported by Python?

  • Boolean
  • integer
  • string
  • float

Explanation: A type of True or False is a predefined value of the Boolean data type.

Exam with this question: 1.3.4 Quiz - Python Review

Subscribe
Notify of
guest

0 Comments
Inline Feedbacks
View all comments