My code tries to convert a number to for example **X** meter **Y** centimeter and **Z** milimeter.My code works correctly for numbers with out any zero like **5782** but when it comes to numbers with zero it will not work properly

This is my code :

```py
a = 2200
b = a / 1000
print(float(b))
b = str(float(b)).split(".") 
first = b[0] 
print(first,b[1])

c = (float(b[1])/10)
print(c)
c = str(c).split(".")
print(c)

second = (c[0])
third = (c[1])

print("%s Meter %s centimeter %s milimeter"%(first,second,third))

```

The result has to be like **2 meter 20 centimeter 0 milimeter** but it gives me **2 meter 0 centimeter 2 milimeter**

How can i solve that guys?