Skip to main content
Ask a Question
Python
Asked a question 11 months ago

Can someone tell why i get this error <ipython-input-8-735ff596b96d> in <module> 1 count=0 2 x=int(input("Enter the number:")) ----> 3 for i in x: 4 sum = count+i 5 print(sum) TypeError: 'int' object is not iterable

Fuel your ambition, discover your passion and achieve your professional goals with LetsUpgrade.
Sign Up Now