Convert number string str to number int, float in Python https://from-locals.com/python-str-num-conversion/