Skip to content
CodeKruPro

round(2.5) and round(3.5)

Predict the outputMediumPython only
main.py
print(round(2.5), round(3.5), round(-2.5), round(0.5))
print(round(2.6), round(-2.6))
print(round(2.675, 2))

This question is part of Pro+

Pro+ opens every question in Interview Prep and the mock interview. Every article and the first 2 questions of each topic stay free. Hands-on Selenium and API tasks follow their course lesson's own lock.

See Pro+

Already have Pro+? Sign in