"Ну и как же нам перекидывать строки ви числа?" спросите вы. Проверять каждый символ, очистив строку от лишних знаков и точек. Потом конвертить допустимые символы в числа и восстанавливать знак, дробную чусть и тд???
Самый быстрый способ это просто "попробовать" 😜
text = "-0.3"
try:
num = float(text)
except ValueError:
print('Dough!')
Всё остальное это уже парсинг и разбор символов для иных целей.
#basic
Transforming the Used Goods Market
Investors were initially skeptical of Shopify, yet it grew to 4.5 million stores. A similar transformation awaits the $350 billion used goods market, where 93% of stores are still offline. Innovations using AI can reduce digitalization challenges by 95%. This presents an opportunity for a new platform to revolutionize online reselling. For more insights, check this article: Cointelegraph
#Tech#AI#Ecommerce#UsedGoods#Innovation#AIIntegration#MarketGrowth#Digitalization#Reselling#Investment#Shopify#Startup#Entrepreneurship#Revolution#OnlineSelling#Future#Trends#Retail#Fintech#VC