+ 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 Answers
+ 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