0

How to remove 0 in the large number begins with zero

002345 out put is like 2345

27th Dec 2018, 1:53 PM
Karthik Devillers
Karthik Devillers - avatar
1 Respuesta
+ 1
s=002345 x=str(int(s)) print(x) OR i=0 while(s[i]==0): i+=1 print(s[i:])
27th Dec 2018, 2:00 PM
Pulkit Kamboj
Pulkit Kamboj - avatar