int() function python code example
Example 1: what does int do in python
#basically turns a string or a float into a number aka a integer
num = int("147")
Example 2: int in python
# The value of the vriable will be an int
# For example:
number = "2" # number is string of a number
number = int(number) # now number is int