БГ
Size: a a a
БГ
R3
БГ
IT
R3
IT
K
БГ
def around(x):
if not (x%0.5):
return round(x+.01)
return round(x)
IT
БГ
def around(x):
if not (x%0.5):
return round(x+.01)
return round(x)
def around(x):
fractional = abs(x%1)
rounded = round(x)
if fractional==0.5:
rounded += 1
return rounded
БГ
def around(x):
fractional = abs(x%1)
rounded = round(x)
if fractional==0.5:
rounded += 1
return rounded
IT
AT
AT
IT
БГ
AT
БГ
IT
AT