"Ну и как же нам перекидывать строки ви числа?" спросите вы. Проверять каждый символ, очистив строку от лишних знаков и точек. Потом конвертить допустимые символы в числа и восстанавливать знак, дробную чусть и тд???
Самый быстрый способ это просто "попробовать" 😜
text = "-0.3"
try:
num = float(text)
except ValueError:
print('Dough!')
Всё остальное это уже парсинг и разбор символов для иных целей.
#basic
From cotton to culture - Oscar Niemeyer Sphere - Baumwollspinnerei.
#leipzig#visitleipzig#architecturephotography#minimalism#facadedesign#archidaily#arch_shovel
The Milan Trade Fair Rho-Pero, Italy.
Salone del Mobile 2022 is taking place in Milan until June 12th.
The central element of the design of the Milan Trade Fair Rho-Pero, Italy, is a glass and steel structure that runs like a giant ribbon, caressing the large and small-scale building along its path and ending into a huge crater-like vortex.
The structure covers a raised walkway, flanked either side by eight giant exhibition halls. Nestling between them are a variety of smaller structures containing bars, restaurants and shops.
Architecture: Fucsas
Photos: Ramon Prat
#fuksas#fuksasarchitects#arch_shovel#architecture#milano#milan#italy#trade#fair#design#architecturephotography
Pavilion EXPO 2025 in Osaka
One of the five equally awarded projects for the Polish Pavilion EXPO 2025 in Osaka by MFMGR
Visualization: AESDE
#expo#osaka#mfrmgr_architekci#poland#architecture#modernarchitecture#japan#people#color#architecturephotography#arch_shovel