def bigger(a,b): if (a>b): return a else: return b x=10 y=20 print(" Biggest of {:3d} and {:3d} is {:3d} ".format(x,y,bigger(x,y))) x1=1.0 x2=2.0 print(" Biggest of {:4.2f} and {:4.2f} is {:4.2f} ".format(x1,x2,bigger(x1,x2)))