Linked Questions

Popular Questions

How to convert multiple zero string to int

Asked by At

In python 3 I have problem to convert a strings of '0' to int, it only gives me ONE 0, not all

I've tryed to put it as list but I'm sure there is a better way.

a = '0000'
int(a) # 0

I would like that int(a) = 0000

Related Questions