Variable Syntax Error Why Tho? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
20th Apr 2020, 7:07 AM
Ozlface
2 Answers
0
in c = ... It needs a closing ")" bracket
20th Apr 2020, 7:12 AM
Slick
Slick - avatar
0
Check this code out. It seems like you use regular math expressions in script. ex. "c4" you can not do this because python doesn't know what operation you want. "c*4" is the way to write that. Check out the this updated code of yours and look at the small changes in operations I made. Also look at barackets https://code.sololearn.com/cvFj3zQ2XVO0/?ref=app
20th Apr 2020, 7:49 AM
Slick
Slick - avatar