What is error in this code??(colon sign in python) | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What is error in this code??(colon sign in python)

Why its saying syntax error in this code at colon sign in if statement https://code.sololearn.com/c3pk3YfwMj6q/#py

2nd Apr 2022, 2:01 PM
Umar Farooq
1 Answer
- 1
np got it .I was missing a bracket on previous line but it was showing syntax error on next line's colon sign(Didnt know that it also can make such mistakes)
2nd Apr 2022, 2:05 PM
Umar Farooq