+ 2
Why does my calculator only work sometimes?
Hello, Iâve created a calculator using beginner python concepts. Weirdly enough, the code works but from time to time it doesnât and display a NameError. Whatâs wrong with the code? And taking into consideration that more experienced programmers will reply, how would you improve it? https://code.sololearn.com/cz09uwd8rJhZ/?ref=app
1 Answer
0
Line 44: you need
break
Line 46: you need
continue
try to reduce by removing redundant code.