print numbers in python code example
Example 1: How do you print a integer in python
x = 7
print('Number: ' + str(x))
#str() turns anything inside to a string which allows you to
#add it to another/different string
Example 2: print from 1 to n in python
#To print a number from 1 to n (n being any number you want + 1, since python wont print the ranged number)
for i in range(1,n):
print(i)