Skip to content
Sign UpLog In
Profile icon

Megat Imran Ikram

@MegatImranImran
Megat Imran Ikram Undergraduate Bachelor of Mechanical Precision Engineering Universiti Teknologi Malaysia
Repls
Community
MegatImranImran
MegatImranImran
shared a Post
3 years ago
Rounding off number
print(round(1.3)) # gives 1 print(round(1.7)) # gives 2 print(round(-1.3)) # gives -1 print(round(-1.7)) # gives -2 print(round(10.5)) # gives