I have numbers like 1.234.567 that don't recognize as number by python and give SyntaxError. What should i do to convert them to float or str?
number = int("1.234.567".replace(".",""))
This will convert 1.234.567 into 1234567 which can then be used as an integer.
1.4m articles
1.4m replys
5 comments
57.0k users