Probably int() the integer first to ensure that it is an integer, not a string or any other value type.
Also, you can check the integer value by using print(type(Integer))
and make sure that it prints: <class 'int'>
in the console.
Happy coding!