Python | Operators | Question 1
What is the output of the following code :
print 9//2 |
chevron_right
filter_none
(A) 4.5
(B) 4.0
(C) 4
(D) Error
Answer: (C)
Explanation: The ‘//’ operator in Python returns the integer part of the floating number.
Quiz of this Question
Please comment below if you find anything wrong in the above post
Recommended Posts:
- Python | Operators | Question 3
- Python | Operators | Question 4
- Python | Operators | Question 2
- Basic Operators in Python
- Operators in C | Set 2 (Relational and Logical Operators)
- C | Operators | Question 13
- C | Operators | Question 3
- C | Operators | Question 18
- C | Operators | Question 8
- C | Operators | Question 12
- C | Operators | Question 27
- C | Operators | Question 16
- C | Operators | Question 26
- C | Operators | Question 2
- C | Operators | Question 26



