KnowledgeBoat Logo
|

Computer Applications

What is the output of following code ?

print "8 >= 8"
  1. 8 >= 8
  2. False
  3. True
  4. Error

Python Funda

2 Likes

Answer

8 >= 8

Reason — Since 8 >= 8 is enclosed in quotes, it is treated as a String and printed on the output terminal as it is.

Answered By

2 Likes


Related Questions