1. >>> 2- 2
2. >>> 2 -(2-)
File "<stdin>", line 1
2 -(2-)
^
SyntaxError: invalid syntax
3. >>> (0+1)-9(1/2)
<stdin>:1: SyntaxWarning: 'int' object is not callable; perhaps you missed a comma?
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: 'int' object is not callable
Give explanation to these results experimented in python above.
Comments
Leave a comment