a%=1.2 print a% a%=1.7 print a% a%=-0.2 print a% a%=-0.7 print a%