180k views
0 votes
Sasha is using Python 3 as a calculator to divide 100 by 4 and types print 100 / 4. When run is typed, nothing happens. What needs to be added to the code to make this program work? parentheses the word multiply the word calculator and parentheses the word execute

1 Answer

5 votes

Answer:

parentheses

Step-by-step explanation:

print 100/4

SyntaxError: Missing parentheses in call to 'print'.

print (100/4)

25.0

You need parentheses with print statements in python.

Hope this helps!

User AndreasW
by
5.5k points