Question-17: When you execute below line, what output would be generated?

print(9*9.)

  1. 8.1
  2. 81.
  3. 81.0
  4. 81

 

Answer: C

Exp:  When in a binary operator if one of the value is a floating point then resultant value should also be floating point. Here, 9. Means it representing 9.0

Why Dont you prepare for Python Certifications and Interview Questions with 250+ Questions and Answer : Check Here

Real Exam Number of Questions: 70 Questions
Real Exam Pass Score: 70%
Time Allotted: 90 minutes to complete exam