number in python code example Example: how to define number in python myNumber = 69 myNumber = int(myNumber) print(type(myNumber))