Computer Science
Find out the error(s) in following code fragment:
temperature = 90
print temperature
Python Funda
41 Likes
Answer
The call to print function is missing parenthesis. The correct way to call print function is this:
print(temperature)
Answered By
18 Likes
Related Questions
How will Python evaluate the following expression ?
(20 + 30) * 40
How will Python evaluate the following expression ?
15.0 / 4 + (8 + 3.0)
Find out the error(s) in following code fragment:
a = 30 b=a+b print (a And b)
Find out the error(s) in following code fragment:
a, b, c = 2, 8, 9 print (a, b, c) c, b, a = a, b, c print (a ; b ; c)