Question about Python


(Eduard) #1

Hello! My question is this:how can you convert a number like(for example) 1.2222222… into just 1.0 in Python???


(z3r0 d) #2

round(1.22222222222222222222222,0)