I'm getting type error for following line:
a, b = task_one(int(input("Enter number of your choosing: "), input("Enter second number: " )))
TypeError: 'str' object cannot be interpreted as an integer
I don't understand why input is classified as a string when I enter integers and use int() function.
int(). It's complaining about the second one, which is the optionalbaseargument and must be an integer. You can't convert multiple strings within one call toint().