Python – TypeError: 'int' object is not iterable
Why do I get "TypeError: 'int' object is not iterable" when trying to sum digits of a number? Question: Here’s my code: import math print("Hey, lets solve Task 4 :)") number1 = input("How many digits do you want to look at? ") number2 = input("What would you like the digits to add up to? ") …