+ 1
Why doesn’t this work?
Hey guys I’m new at coding, and I made this program to list a couple of exponents. I don’t quite understand why the program is giving an error under the “while” function. https://code.sololearn.com/cLiB3sGynIvZ/?ref=app
4 ответов
+ 7
Parenthesis mismatch on Line 41. Missing closing parenthesis.
0
Ok. I did “(int(num)) * (int(num))” and found it works just as well, on account of it already being an integer.
0
Makes sense. Thanks for the help!
0
(str(num) * str(num)) change line 41 to this..You already knew the problem but you may had forgotten,so this is the thing you're supposed to change