Answer to Question #180170 in Python for FORTUNE AIDOO

Question #180170

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.


1
Expert's answer
2021-04-10T18:17:57-0400

in 2, do this 2-(-2)

in 3, do this (0+1)-9*(1/2)


Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS