What is wrong with my code?Also could anyone please tell me why am i not able to reply through message?Already activated account | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 1

What is wrong with my code?Also could anyone please tell me why am i not able to reply through message?Already activated account

It is displaying "line 1,invalid syntax" https://code.sololearn.com/ce1ZRE7TH0vd/?ref=app

30th Nov 2021, 12:31 PM
swathi Ayenampudi
3 Answers
+ 6
swathi Ayenampudi , the output of your code is not correct, so it should also be reworked. since you have not started any python tutorial, it is recommended to do so. you need to learn the basics of python to do exercises like this.
30th Nov 2021, 4:24 PM
Lothar
Lothar - avatar
+ 4
Blank spaces are not allowed in variable names, hence the invalid synatx error Rather do points_for_wins for example
30th Nov 2021, 12:44 PM
Lisa
Lisa - avatar
+ 1
Please always tag the language you're asking about. https://code.sololearn.com/W3uiji9X28C1/?ref=app
30th Nov 2021, 5:33 PM
Simon Sauter
Simon Sauter - avatar