There is a name error coming in my code...plz tell me step by step how to fix it and what is the main problem??? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

There is a name error coming in my code...plz tell me step by step how to fix it and what is the main problem???

https://code.dcoder.tech/files/code/5fb0a996a3021b6703fe6a8d/dropwhilepy

15th Nov 2020, 4:21 AM
riya charles
riya charles - avatar
2 Answers
+ 3
You forgot to: import itertools FYI, it is usually helpful if you copy your code to the SL playground and save it here. Not everyone uses dcoder here and most aren't going to make an account just to answer you questions.
15th Nov 2020, 4:43 AM
ChaoticDawg
ChaoticDawg - avatar
+ 3
ChaoticDawg Thanks for helping my code worked 😊👍 and yeah next time I'll do it on sl itself.
15th Nov 2020, 5:28 AM
riya charles
riya charles - avatar