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 слични објави

Пребарај: #honeybee

当前筛选 #honeybee清除筛选
Interesting Planet 🌍

@interesting_planet_facts · Post #503 · 05.08.2025 г., 13:22

🌎 The Himalayan honey bee builds its hives on high cliffs, crafting giant honeycombs and producing reddish honey with unique psychoactive properties prized by local tribes. ✨ #honeybee⚡#Himalayas⚡#nature 👉subscribe Interesting Planet

Pensive|

@PensivePost · Post #5861 · 12.07.2022 г., 14:24

So yep, today my boyfriend called me two times on the line. Firstly, he started to call me when he woke up this morning. He was somewhat messy and had a bare face. He’s so lovable! No one knows I’m happy with how he treats me like he started a day with a face-to-face with me. We did enjoy it even tho the distance seemed a bit crazy. Secondly, In the afternoon… We hit up. As usual, we always bring up the topic of what we did today. I finally can share my happiness about the scarves that my momma brought me in the midday. He makes me a cutie-pie compliment, and I want to hear that a thousand times a day. Oh my goodness, he deserved what he wanted for me! Sincerely the one who always says mi luvu, Honey Lemon —July, 12th 2022 #review #maiworlds #maijournals #honeybee