Closed CharlesMei closed 1 year ago
if using scientific notation, it will raise error "invalid literal for int() with base 10: '1e6'". What should i do if i want to use scientific notation?
Basically, change Python, or use double. "1e6" is not an int literal, which is what the error says.
@jhermann thank you! int(float(1e6)) works
if using scientific notation, it will raise error "invalid literal for int() with base 10: '1e6'". What should i do if i want to use scientific notation?