TGTGInsighttelegram intelligenceLIVE / telegram public index
← Python Заметки

TGINSIGHT SIMILAR POSTS

Најди сличен содржај

Изворен канал @pythonotes · Post #85 · 15 мај

"Ну и как же нам перекидывать строки ви числа?" спросите вы. Проверять каждый символ, очистив строку от лишних знаков и точек. Потом конвертить допустимые символы в числа и восстанавливать знак, дробную чусть и тд??? Самый быстрый способ это просто "попробовать" 😜 text = "-0.3" try: num = float(text) except ValueError: print('Dough!') Всё остальное это уже парсинг и разбор символов для иных целей. #basic

Hashtags

Резултати

Пронајдени 3 слични објави

Пребарај: #stardust

当前筛选 #stardust清除筛选
Universe Mysteries 🪐

@cosmomyst · Post #305 · 20.09.2025 г., 22:21

🪐 Betelgeuse, a red supergiant star about 642 light-years from Earth, is nearing the end of its life and will eventually explode as a supernova—a titanic stellar explosion. Supernovae like this release more energy in a few weeks than our Sun will in its entire 10-billion-year lifespan, scattering heavy elements like iron and gold into space to help form new stars and planets. ✨ #supernovae⚡#betelgeuse⚡#stardust⚡#nasa⚡#galaxy⚡#stars⚡#astronomy⚡#universe⚡#cosmos⚡#space 👉subscribe Universe Mysteries ​

Universe Mysteries 🪐

@cosmomyst · Post #366 · 03.10.2025 г., 12:21

🪐 One of the most unusual stars known is SDSS J122859.93+104032.9, a "carbon-rich white dwarf" about 1,000 light-years from Earth. Unlike typical white dwarfs—stellar remnants made mostly of hydrogen and helium—this star's atmosphere is packed with carbon, giving it a faint, bluish glow and defying expectations about how dying stars shed their outer layers. ✨ #unusualstars⚡#white⚡#dwarfs⚡#stardust⚡#nasa⚡#galaxy⚡#stars⚡#astronomy⚡#universe⚡#cosmos⚡#space 👉subscribe Universe Mysteries 👉more Channels ​