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

TGINSIGHT SIMILAR POSTS

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

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

В продолжение прошлого поста про цифры в мире строк. Почему методы isdigit() и isnumeric() не определяют в строке float и отрицательные значения? Дело в том, что эти методы работают с ЦИФРАМИ, то есть с единичным символом. А строка "-2" или "3.4" это уже ЧИСЛО. То есть не символ а значение, записанное несколькими символами. Все озвученные методы проходятся по каждому символу строки и проверяют их индивидуально. В юникоде есть символы цифр с точками "🄀⒈⒉⒊⒋⒌⒍⒎⒏⒐" Каждая из них это ОДИН СИМВОЛ, поэтому он будет считаться цифрой >>> '⒌'.isdigit(), '⒌'.isnumeric() True, True Но когда мы пишем это выражение в два символа ( 5+точка), то это не работает. >>> '5.'.isdigit(), '5.'.isnumeric() False, False А еще есть такие символы >>> '⑴⑵⑶⑷⑸'.isdigit() True >>> '🄁🄂🄃'.isdigit() True Но они не преобразуются в десятичные цифры >>> '⒈'.isdecimal() False >>> '🄃'.isdecimal() False >>> '⑶'.isdecimal() False #basic

Hashtags

Резултати

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

Пребарај: #herlegacy

当前筛选 #herlegacy清除筛选
Bloom Org

@bloomorg_uz · Post #45 · 31.05.2025 г., 16:56

#LetHerBloom#HerLegacy 🌸 Today, we are coming back with our rubric “Her Legacy”, where we dive into lives of women who changed not only theirs, but millions of other women’s lives. Bloom will tell you who Malala is, her global impact, her achievements, and why she inspires us. 🪄She is the one who taught us that one voice can change revolutions. Remember: ✨One spark can cause fire that millions of people cannot stop. Be that spark! 💜 Let’s change the world together! Let’s get the strength and change OUR lives. And after all, Let Her Bloom! 🚀Telegram | 📷Instagram

Bloom Org

@bloomorg_uz · Post #10 · 25.04.2025 г., 18:04

#LetHerBloom#BloomTogether#MentalHealthAwareness#AbusePrevention#HerLegacy 🌸Introducing Bloom’s New Rubric Series🌸 We’re launching a fresh series of posts to raise awareness, educate, and create conversations that matter. Here’s what you’ll see on our page: ✨ Abuse 101 – A breakdown of the different types of abuse. 🚩⏺ Red & Green Flags – What’s healthy vs. what’s harmful in relationships. 🧠 Mental Health Impact – The emotional cost of abuse. 🤝 If You Think Someone’s Being Abused – What to do and how to help. 💐 Her Legacy – Stories of powerful women who changed the world. 🌿 Healthy Boundaries – Why they matter and how to set them. 🎬 Feminism in Media – Representation, reality, and rewriting the narrative. Stay tuned, stay aware, and let’s keep growing together 🌱💜 🚀Telegram📷Instagram