import math
F=3.6
G = math.floor(F)
if F > G + 0.5:
    F = math.ceil(F)
else:
    F = math.floor(F)
print(f'{F}')

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: