saving . . . saved unexpected error please solve this for my ss file as mention as in tutorial has been deleted. unexpected error please solve this for my ss file as mention as in tutorial has been hidden .
unexpected error please solve this for my ss file as mention as in tutorial
Title
Question
 import ss
Traceback (most recent call last):

  File "c:\python\python3.9.4\lib\site-packages\IPython\core\interactiveshell.py", line 3441, in run_code
    exec(code_obj, self.user_global_ns, self.user_ns)

  File "<ipython-input-15-c2e5125ec1bc>", line 1, in <module>
    import ss

  File "C:\Users\My Pc\ss.py", line 6
    if__name__=="__main__":
                           ^
SyntaxError: invalid syntax

Python-3.4.3 Writing-Python-Scripts 06-07 min 20-30 sec 23-06-21, 8:47 p.m. debnathmondal

Answers:

In your statement if__name__=="__main__":

please add a space between if and __name__
24-06-21, 4:29 p.m. ankitrj.iitb


Log-in to answer to this question.