"Ну и как же нам перекидывать строки ви числа?" спросите вы. Проверять каждый символ, очистив строку от лишних знаков и точек. Потом конвертить допустимые символы в числа и восстанавливать знак, дробную чусть и тд???
Самый быстрый способ это просто "попробовать" 😜
text = "-0.3"
try:
num = float(text)
except ValueError:
print('Dough!')
Всё остальное это уже парсинг и разбор символов для иных целей.
#basic
No Suits. No Filters. Just real talk.
We're proud to announce that Simon Westbury, Strategic Advisor at 1xBet, will be speaking at SiGMA Euro-Med in Malta, September 1-3:
The panel session is entitled "No Suits, No Filters: The Real Talk from the Top – and takes place on Day 1 of the Show."
Simon shall be joined by:
Alexandre Tomic, Founder – Alea
Dmitry Starostenkov, CEO – EvenBet Gaming
Oliver De Bono, CEO – Quantum Gaming
The topic: What happens when the industry's key decision-makers step away from the boardroom script?
👉 Expect candid stories of learnings, near-misses, risk, resilience, and even the competitors they quietly admire.
This is one conversation you won't want to miss.
#1xBet#iGaming#IndustryLeaders#PanelDiscussion#SiGMA#BusinessLeadership