"Ну и как же нам перекидывать строки ви числа?" спросите вы. Проверять каждый символ, очистив строку от лишних знаков и точек. Потом конвертить допустимые символы в числа и восстанавливать знак, дробную чусть и тд???
Самый быстрый способ это просто "попробовать" 😜
text = "-0.3"
try:
num = float(text)
except ValueError:
print('Dough!')
Всё остальное это уже парсинг и разбор символов для иных целей.
#basic
Most of the signals today will be in Vip section
Join #Vip pin and unmute
$100 lifetime promo
Lets start the day with more USD okay? Tap tap 🔥 if you guys are ready.
To Join click on the pinned message and contact admin
Most of the signals today will be in Vip section
Join #Vip pin and unmute
$100 lifetime promo
Lets start the day with more USD okay? Tap tap 🔥 if you guys are ready.
To Join click on the pinned message and contact admin
Most of the signals today will be in Vip section
Join #Vip pin and unmute
Lets start the day with more USD okay? Tap tap 🔥 if you guys are ready.
To Join click on the pinned message and contact admin