What is the difference between a float and an integer variable type?

The float integer variable type, as the name suggests, only allows integer numbers to be stored(i.e. 1,4,5 etc.). On the other hand, float numbers could be decimal(i.e. 3.14, 5.52352345 ,etc.)

DD

Related Python Mentoring answers

All answers ▸

How do I define a function in Python?


Implement a rocket launch countdown.


Give an example of a FOR loop


What is the difference between DFS and BFS? Where can I apply each?