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

Резултати

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

Пребарај: #uttarpradesh

当前筛选 #uttarpradesh清除筛选
We want you

@we_want_youu · Post #4241 · 16.08.2024 г., 01:53

Location - Pilibhit, UP, In the case of acid attack on an LLB female Muslim student .the police have arrested #Atul, who threw acid on a girl ,Atul was wearing a burqa. Atul was shot in the leg in the encounter. The victim is also learning the skills of advocacy from the same lawyer... where Atul Munshi is. Both of them had a good friendship.. the girl was not talking to the young man for some reason. Atul had thrown acid to teach the girl a lesson. The use of burqa was taken so that identification could not be done. But the police provided complete treatment to the accused within 36 hours and sent him to jail. #UttarPradesh #Islamophobia #womensafty #wewantyou @AlJajeera

Desi Memes Funny Jokes

@DESI_MEMES_Funny_Jokes · Post #5761 · 04.11.2024 г., 17:58

Lete lete Kamao Lakho 💸💸💵💵😨😨😨 #funnyreels#funnyvlog#funny#comedyreels#comedy#companygarden#explorepage#explore#diwalioffer#diwali#jobs#job#offer#vacancy#vacances#visa#freejob#howtoearnmoney#money#boys#theboys#shamimup70#uttarpradesh#up70#viral#trending

Desi Memes Funny Jokes

@DESI_MEMES_Funny_Jokes · Post #5831 · 10.11.2024 г., 09:24

Meri ammi khoo gayi guys . . . . #fyp#fy#reelitfeelit#meme#me#memes#punjab#haryana#delhiuniversity#delhi#panjabuniversity#pune#up#uttarpradesh#maharashtra#mumbai#bombay#navimumbai#puranidilli#puranidelhi#reels#bom#newchandigarh#chandigarh#uttarakhand#pakistan#lahore#islamabad#india#bharat