Преобразование числовой строки str в число int, float в Python https://ru.from-locals.com/python-str-num-conversion/