Menu
Home
AI
Machine Learning
Data Science
Python
Interview Questions
Python question of the day
What would be the output of executing the following code:
print(round(7.5) - round(6.5))
2
1
1.0
0
Explanation
In python, round() function rounds the number given as the argument to the nearest
even
number
Top 100 python interview questions: