0

Why

This error happens in this code I made. Scroll down in the output. https://code.sololearn.com/co2cAw1GfmMb/?ref=app

15th Jul 2022, 6:07 PM
MyNameIsNotBob
MyNameIsNotBob - avatar
3 ответов
+ 3
Remove line 23 add it in last while loop. edit: 23, not 14 AJ 🇺🇦#PeaceForUkraine🇺🇦 the i is declared out side function but you are using inside function
15th Jul 2022, 6:14 PM
Jayakrishna 🇮🇳
+ 1
AJ 🇺🇦#PeaceForUkraine🇺🇦 On line no 23 i is a local variable for the function so remove that line from there and add in while loop where i < 16 while i < 16: puepfuue(0) puepfuue(1) puepfuue(2) puepfuue(1) i += 1
15th Jul 2022, 6:17 PM
A͢J
A͢J - avatar
0
You Made the variable nos in puepfuue but used i instead that isn't defined in the Methode.
15th Jul 2022, 6:16 PM
Felix Alcor
Felix Alcor - avatar