toH=3.4

print(f'{toH}')

if toH > 0: 
    yaj=toH - (toH % 1)+0
    if toH > yaj+0.5:
        toH=yaj+1
    else:
        toH=yaj+0
else:
    toH=toH*-1
    yaj=toH - (toH % 1)+0
    if toH > yaj + 0.5:
        toH=yaj+1
    else:
        toH=yaj+0
    toH=toH*-1

print(f'{toH}')

toH=-3.4

print(f'{toH}')

if toH > 0: 
    yaj=toH - (toH % 1)+0
    if toH > yaj+0.5:
        toH=yaj+1
    else:
        toH=yaj+0
else:
    toH=toH*-1
    yaj=toH - (toH % 1)+0
    if toH > yaj + 0.5:
        toH=yaj+1
    else:
        toH=yaj+0
    toH=toH*-1

print(f'{toH}')

Embed on website

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