Understanding python characters
here why ":" is given and what is the meaning of it in python
Hi M Shahriar!
Great to have you in the course and thanks for reaching out!
This is just the way the Python syntax works. The colon sign (:) indicates the beginning of the condition statement we indicate with the if operator. After the colon sign, we state the condition itself.
Hope this helps.
Hi when I write the statement and hit enter it does not give me an answer if 5==15/3:
There might be few scenarios while u didn't get desired answer
If 5==15/3(condition == true) :
(tab or space)print("Hello")
Just check where you're lacking in syntax or just examine the error u recieve(if any)
Hi Hassan and Mayank!
@Mayank: thanks for sharing information with the Community!
@Hassan: please share a screenshot, so we can assist you better.