Question: What's the difference between these datatypes: float and integer? an integer contains a whole number ( like 1 or 1 0 0 ) and a
What's the difference between these datatypes: float and integer?
an integer contains a whole number like or and a float contains a
fractional or decimal number like or
a float contains a whole number like or and an integer contains a
fractional or decimal number like or
Integers are used in Python, but not floats
Floats are used in Python, but not integers
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
