python invalid literal for int() with base 2: '2' code example
Example: invalid literal for int() with base 10 python
#The Python ValueError: invalid literal for int() with base 10 error
# is raised when you try to convert a string value that is not formatted
# as an integer. like a = "name" to int(a)