Wednesday, October 11, 2023

rstrip - read without decimal points in python

 use

string.rstrip("0.") for no decimals

No comments:

Post a Comment