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

Резултати

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

Пребарај: #sunderland

当前筛选 #sunderland清除筛选
Ultimora.net - POLITICS

@UltimoraPOlitics · Post #38448 · 05.05.2022 г., 23:41

#Elezioni#RegnoUnito#Amministrative Consiglio di #Sunderland, risultati definitivi: #LAB|S&D: 15 seggi (-1 rispetto al 2018) #LDEM|RE: 5 (+2) #CON|ECR: 4 (-1) Attuale composizione del Consiglio comunale: #LAB|S&D: 41 seggi #CON|ECR: 18 #LDEM|RE: 14 Indipendenti: 1 I Labour mantengono il controllo del Consiglio. @UltimoraPolitics

AI match predictions

@ai_match_prediction · Post #11142 · 22.03.2026 г., 05:05

England Premier League🏴󠁧󠁢󠁥󠁮󠁧󠁿 2026-03-22 12:00 UTC Newcastle vs. Sunderland Predicted outcome: Newcastle❌ Predicted score: 2:1 Actual: Sunderland 1:2 #Newcastle#Sunderland 2026-03-22 14:15 UTC Tottenham vs. Nottingham Forest Predicted outcome: Draw❌ Predicted score: 2:2 Actual: Nottingham Forest 0:3 #Tottenham#NottinghamForest 2026-03-22 14:15 UTC Aston Villa vs. West Ham Predicted outcome: Aston Villa✅ Predicted score: 2:1 Actual: Aston Villa 2:0 #AstonVilla#WestHam #Football#PremierLeague

AI match predictions

@ai_match_prediction · Post #11593 · 19.04.2026 г., 05:05

England Premier League🏴󠁧󠁢󠁥󠁮󠁧󠁿 2026-04-19 13:00 UTC Everton vs. Liverpool Predicted outcome: Draw❌ Predicted score: 1:1 Actual: Liverpool 1:2 #Everton#Liverpool 2026-04-19 13:00 UTC Nottingham Forest vs. Burnley Predicted outcome: Draw❌ Predicted score: 1:1 Actual: Nottingham Forest 4:1 #NottinghamForest#Burnley 2026-04-19 13:00 UTC Aston Villa vs. Sunderland Predicted outcome: Aston Villa✅ Predicted score: 1:0 Actual: Aston Villa 4:3 #AstonVilla#Sunderland 2026-04-19 15:30 UTC Manchester City vs. Arsenal Predicted outcome: Draw❌ Predicted score: 1:1 Actual: Manchester City 2:1 #ManchesterCity#Arsenal #Football#PremierLeague

AI match predictions

@ai_match_prediction · Post #11458 · 12.04.2026 г., 05:05

England Premier League🏴󠁧󠁢󠁥󠁮󠁧󠁿 2026-04-12 13:00 UTC Crystal Palace vs. Newcastle Predicted outcome: Draw❌ Predicted score: 1:1 Actual: Crystal Palace 2:1 #CrystalPalace#Newcastle 2026-04-12 13:00 UTC Nottingham Forest vs. Aston Villa Predicted outcome: Aston Villa❌ Predicted score: 0:1 Actual: Draw 1:1 #NottinghamForest#AstonVilla 2026-04-12 13:00 UTC Sunderland vs. Tottenham Predicted outcome: Sunderland✅ Predicted score: 2:1 Actual: Sunderland 1:0 #Sunderland#Tottenham 2026-04-12 15:30 UTC Chelsea vs. Manchester City Predicted outcome: Draw❌ Predicted score: 1:1 Actual: Manchester City 0:3 #Chelsea#ManchesterCity #Football#PremierLeague

AI match predictions

@ai_match_prediction · Post #11853 · 02.05.2026 г., 09:05

England Premier League🏴󠁧󠁢󠁥󠁮󠁧󠁿 2026-05-02 14:00 UTC Newcastle vs. Brighton Predicted outcome: Brighton❌ Predicted score: 1:2 Actual: Newcastle 3:1 #Newcastle#Brighton 2026-05-02 14:00 UTC Wolves vs. Sunderland Predicted outcome: Sunderland❌ Predicted score: 1:2 Actual: Draw 1:1 #Wolves#Sunderland 2026-05-02 14:00 UTC Brentford vs. West Ham Predicted outcome: Brentford✅ Predicted score: 2:1 Actual: Brentford 3:0 #Brentford#WestHam 2026-05-02 16:30 UTC Arsenal vs. Fulham Predicted outcome: Arsenal✅ Predicted score: 2:1 Actual: Arsenal 3:0 #Arsenal#Fulham #Football#PremierLeague

AI match predictions

@ai_match_prediction · Post #11974 · 09.05.2026 г., 05:05

England Premier League🏴󠁧󠁢󠁥󠁮󠁧󠁿 2026-05-09 11:30 UTC Liverpool vs. Chelsea Predicted outcome: Liverpool❌ Predicted score: 3:2 Actual: Draw 1:1 #Liverpool#Chelsea 2026-05-09 14:00 UTC Fulham vs. Bournemouth Predicted outcome: Bournemouth✅ Predicted score: 1:2 Actual: Bournemouth 0:1 #Fulham#Bournemouth 2026-05-09 14:00 UTC Brighton vs. Wolves Predicted outcome: Brighton✅ Predicted score: 2:0 Actual: Brighton 3:0 #Brighton#Wolves 2026-05-09 14:00 UTC Sunderland vs. Manchester United Predicted outcome: Manchester United❌ Predicted score: 1:2 Actual: Draw 0:0 #Sunderland#ManchesterUnited 2026-05-09 16:30 UTC Manchester City vs. Brentford Predicted outcome: Manchester City✅ Predicted score: 2:1 Actual: Manchester City 3:0 #ManchesterCity#Brentford #Football#PremierLeague