KnowledgeBoat Logo
|

Robotics & Artificial Intelligence

Given: m = 24

What is the data type of the given Python variable?

  1. String
  2. Integer
  3. Float
  4. Double

Python Funda

2 Likes

Answer

Integer

Reason — The value 24 is a whole number without a decimal point. All whole numbers (positive or negative) without a decimal point are said to be of integer (int) type in Python.

Answered By

3 Likes


Related Questions