The type() function can be used to get the data type of any object

8. The type() function can be used to get the data type of any object.

  1. True
  2. False

Answer: A) True

Explanation:

The type() function can be used to find out what type of data an object contains. Typing an object passed as an argument to Python's type() function returns the data type of the object passed as an argument to Python's type() function. This function is extremely useful during the debugging phase of the process.

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.