Can anyone help? I just started Python and i tryed a recursive square calculator, but i get a syntax error on the print. Thanks! | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Can anyone help? I just started Python and i tryed a recursive square calculator, but i get a syntax error on the print. Thanks!

https://code.sololearn.com/cWY0YVW2D8YS/?ref=app

2nd May 2019, 6:29 AM
BayesianPhoenix
BayesianPhoenix - avatar
2 Answers
+ 1
You missing ) in n declaration Should be: n = int(input("nth square"))
2nd May 2019, 6:50 AM
Dima Makieiev
Dima Makieiev - avatar
+ 1
Ops, thanks!
2nd May 2019, 7:20 AM
BayesianPhoenix
BayesianPhoenix - avatar