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

Пребарај: #advance

当前筛选 #advance清除筛选
America 🇺🇸 News & Politics

@America · Post #10161 · 29.11.2025 г., 02:42

😄Advance ➖➖➖➖➖➖ 🔘 Advance, the verb, can mean develop, improve and move forward. 🔜 You'll advance if you continue to study this hard. 🔘 Advance in this way can also be used as a noun. 🔜 There was an advance in sales when the software was updated. 🔘 Advance can be an adjective that means early. 🔜 I wish you'd given me advance warning of the redundancies. 🔘 If you ask for an advance, you ask to be given a payment before you are usually paid. 🔜 I asked for an advance because I had to pay a big bill. #Advance👨‍🏫@America ➖➖➖➖➖➖➖➖➖➖➖➖ 🆕 Crypto News @Money 😁 Crypto Game @Egame 🇺🇸 US News @America 🇯🇵 Japan News @Japan 🇦🇪 UAE News @Dubai ▶️ Popular Movies @Videos 😜 Best Funny Video @Funnys

Hashtags

America 🇺🇸 News & Politics

@America · Post #10153 · 27.11.2025 г., 03:05

😄Advance ➖➖➖➖➖➖ 🔘 Advance, the verb, can mean develop, improve and move forward. 🔜 You'll advance if you continue to study this hard. 🔘 Advance in this way can also be used as a noun. 🔜 There was an advance in sales when the software was updated. 🔘 Advance can be an adjective that means early. 🔜 I wish you'd given me advance warning of the redundancies. 🔘 If you ask for an advance, you ask to be given a payment before you are usually paid. 🔜 I asked for an advance because I had to pay a big bill. #Advance👨‍🏫@America ➖➖➖➖➖➖➖➖➖➖➖➖ 🆕 Crypto News @Money 😁 Crypto Game @Egame 🇺🇸 US News @America 🇯🇵 Japan News @Japan 🇦🇪 UAE News @Dubai ▶️ Popular Movies @Videos 😜 Best Funny Video @Funnys

Hashtags

Libertà è ragione

@libertaeragione · Post #4449 · 27.02.2026 г., 06:10

#Elezioni#RegnoUnito#Suppletive#GortonDenton Risultati definitivi: Affluenza: 47,6% Hannah #Spencer (#Greens|G/EFA): 40,6% Matt #Goodwin (#Reform|Destra populista): 28,7% Angeliki #Stogia (#LAB|S&D): 25,4% Charlotte #Cadden (#CON|Centro-destra): 1,9% Jackie #Pearcey (#LDEM|RE): 1,8% Sir Oink #ALot (#MRLP|Satirici): 0,4% Nick #Buckley (#Advance|Estrema destra): 0,4% Joseph #OMeachair (#RejoinEU|Europeisti): 0,3% Dan #Clarke (#LPUK|Libertari): 0,1% Sebastian #Moore (#SDP|Centro-sinistra conservatrice): 0,1% Hugo #Wils (#CL|Estrema sinistra): 0,1% Greens GUADAGNA su LAB. I Verdi inglesi vincono per la prima volta nella loro storia una elezione suppletiva. @OsservatorioEsteri