How to change 000-000 to 000000 in Python? [duplicate]

print("000-000".replace("-", "")) #Output: "000000"

Browse More Popular Posts

Leave a Comment