"Ну и как же нам перекидывать строки ви числа?" спросите вы. Проверять каждый символ, очистив строку от лишних знаков и точек. Потом конвертить допустимые символы в числа и восстанавливать знак, дробную чусть и тд???
Самый быстрый способ это просто "попробовать" 😜
text = "-0.3"
try:
num = float(text)
except ValueError:
print('Dough!')
Всё остальное это уже парсинг и разбор символов для иных целей.
#basic
🎙️WEEK 9 | LIVE GEOPOLITICAL DISCUSSION
Who Defines Ethiopia?
State Formation, Violence & the Clash Between Aithiopology vs Ethiopology
🔹 Did Ethiopia lack legitimacy at its birth—or is it being judged through Western theories that were never meant for ancient civilizations?
🔹 This live discussion critically examines recent remarks by Ethiopia’s Foreign Minister, challenges the social contract myth, and explores Ethiopia’s state formation through its own historical and civilizational lens.
📅Jan. 02, 2026
🕕8:00–10:00 PM EST | ከምሽቱ 2:00–4:00
🎙️Host: ኢትዮጵያ ትቅደም | Ethiopia First
🗣️Guest: Alexander Yohannes — Red Nile Media
🎛️Moderator: Sheralin
📡Ethiopia First. Always.
🔴RedNile Media
👇Join ኢትዮጵያ ትቅደም Telegram Channel
https://t.me/+AAE_Pc8aWTczYTA0
#Ethiopia#Geopolitics#Ethiopology#Aithiopology#StateFormation#RedNileMedia#EthiopiaFirst
🎙️WEEK 9 | LIVE GEOPOLITICAL DISCUSSION
Who Defines Ethiopia?
State Formation, Violence & the Clash Between Aithiopology vs Ethiopology
🔹 Did Ethiopia lack legitimacy at its birth—or is it being judged through Western theories that were never meant for ancient civilizations?
🔹 This live discussion critically examines recent remarks by Ethiopia’s Foreign Minister, challenges the social contract myth, and explores Ethiopia’s state formation through its own historical and civilizational lens.
📅Dec 19, 2025
🕕8:00–10:00 PM EST | ከምሽቱ 2:00–4:00
🎙️Host: ኢትዮጵያ ትቅደም | Ethiopia First
🗣️Guest: Alexander Yohannes — Red Nile Media
🎛️Moderator: Sheralin
📡Ethiopia First. Always.
🔴RedNile Media
👇Join ኢትዮጵያ ትቅደም Telegram Channel
https://t.me/+AAE_Pc8aWTczYTA0
#Ethiopia#Geopolitics#Ethiopology#Aithiopology#StateFormation#RedNileMedia#EthiopiaFirst