python int(i) 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 + 1 int python
n = 12 # 'n' is a number
n += 1 # '+=' means that 'n' is equal the old 'n' + the number on the right. the number on the right can be any number
print(n)