PRO
Jay
asked

Expert
Apekchhya Shrestha answered
Great question!
In Python, int stands for integer, which means a whole number — no decimal points.
For example:
5,100, and-3are all integers.
You can also use the int() function in Python to convert other types into integers:
int(3.7)will become3int("15")will become15
This is really useful when you're working with numbers and want to make sure you're using whole numbers for calculations.
Hope this helps! Let me know if you have more questions.
Python
This question was asked as part of the Learn Python Basics course.





