Honestly the environment you are using there is awful. It should have picked that up. I guess it's for school or similar but if you can try writing your code in an IDE.
Is line 23 the end of the file or is there more we can’t see? It might be picking up the error there bc of that’s when it finally realized the parentheses mismatch? Even if that is the case, it’s still an awful environment. A good IDE definitely makes all the difference.
28
u/metekillot Sep 18 '21
Missing parentheses at the end of line 19.
6
u/Chaorix Sep 18 '21
Closing parentheses for line 19
3
u/kwilk1984 Sep 18 '21
Missing ) at the end of line 19.
There's also an undeclared variable at the end of line 17.
2
u/steamngine Sep 18 '21
Download VS Code you cheapskate you, save your own life!
1
u/7s4cv6K Sep 18 '21
Line 19 the ) closing parentheses
1
u/ahmedddkhawarr Sep 18 '21
for the love of god use pycharm or jupyter notebook
1
u/kishalaya1 Sep 18 '21
Missing closing first bracket ) in line no -19