"Ну и как же нам перекидывать строки ви числа?" спросите вы. Проверять каждый символ, очистив строку от лишних знаков и точек. Потом конвертить допустимые символы в числа и восстанавливать знак, дробную чусть и тд???
Самый быстрый способ это просто "попробовать" 😜
text = "-0.3"
try:
num = float(text)
except ValueError:
print('Dough!')
Всё остальное это уже парсинг и разбор символов для иных целей.
#basic
Grand #Ethiopian Renaissance Dam: how #Africa’s largest hydropower project Is powering #Ethiopia’s future
A detailed examination of the Grand Ethiopian Renaissance Dam – its construction, specifications, commissioning, regional impact, and remaining challenges.
The Grand Ethiopian Renaissance Dam (#GERD) is the largest hydropower project in Africa. Located on the #Blue_Nile in Ethiopia’s #Benishangul-Gumuz region, about 14km from the Sudanese border, the project has been delivered by Ethiopian Electric Power (#EEP) with major civil works undertaken by #Webuild Group (formerly #Salini Impregilo).
The objective of the dam is to increase Ethiopia’s electricity generation capacity, reduce dependence on imported energy, and support long-term industrial and economic development.
Construction began in 2011, and Ethiopia officially inaugurated......
Read more: https://www.waterpowermagazine.com/analysis/grand-ethiopian-renaissance-dam-how-africas-largest-hydropower-project-is-powering-ethiopias-future/?cf-view