Video thumbnail for #21 - Type Error in for loop in Python - Fixed! | Python Tutorial in Hindi | The Learning Point

#21 - Type Error in for loop in Python - Fixed! | Python Tutorial in Hindi | The Learning Point

Sep 16, 2024
rrtutor_me Logo

rrtutor_me

🔹 This video explains the reason behind the type error which you might get in python for loop. It is simply because for loop requires some iterable to iterate into. If the data provided is not iterable, it would throw a type error. Watch this video and learn about it! 🔹 Here's what you'll see in this video: 00:33 - revisiting for loops 01:30 - Knowing an iterable 02:02 - Iterating a string 04:32 - Recreating Type Error 🔹 Following are the useful sites which you can use: 👉 https://rrtutors.com/language/Python 👉 https://www.coursera.org/lecture/python-crash-course/common-errors-in-for-loops-8XtCn 👉 https://www.w3schools.com/python/python_for_loops.asp