Discuss Forum

1. what is the output of the following code? Print 9//2

  • A. 4
  • B. 4
  • C. 4
  • D. 4

Answer: Option A

Explanation:

The ‘//’ operator in Python returns the integer part of the floating number.

Post your comments here:

Name:
Mobile:
Email:(Optional)

» Your comments will be displayed only after manual approval.