SyntaxError: invalid syntax

technical talkiess
0

   

SyntaxError: invalid syntax

 num1 = (int)input()

                ^^^^^

Error code :- 

num1 = (int)input()

Solution code :- 

num1 = int(input())


Post a Comment

0Comments

Thanks you for commenting your questions. I will see question and respond you.

Post a Comment (0)