1def rof(x): '''round up to multiple of 5'''
2 if x%5==4:
3 x+=1
4 elif x%5==3:
5 x+=2
6 print(x)
1#round up to multiple of 5 from both end
2def rof(x,y,z):
3 if x%5==4:
4 x+=1
5 elif x%5==1:
6 x-=1
7 elif x%5==2:
8 x-=2
9
10