@BorussiaDortmund · Post #61387 · 03.05.2026 г., 13:46
Man UTD 🆚 Liverpool | Lineups ⏰ 14:30 GMT 🏟️ Old Trafford 📍 Manchester #EPL
Hashtags
TGINSIGHT SIMILAR POSTS
Изворен канал @pythonotes · Post #309 · 2 фев.
Метод строки split() разделяет строку на несколько строк по указанному символу >>> "a_b_c".split('_') ['a', 'b', 'c'] Можно указать максимальное количество разделений >>> "a_b_c".split('_', 1) ['a', 'b_c'] Или резать с другой стороны с помощью rsplit() (right split) >>> "a_b_c".rsplit('_', 1) ['a_b', 'c'] А что будет если оставить аргументы пустыми? >>> "a_b_c".split() ['a_b_c'] Получаем список с одним элементом, потому что по умолчанию используется пробельный символ. >>> "a b c".split() ['a', 'b', 'c'] То есть это равнозначно такому вызову? >>> "a b c".split(" ") ['a', 'b', 'c'] Кажется да, но нет! Давайте попробуем добавить пробелов между буквами >>> "a b c".split(" ") ['a', '', '', 'b', '', '', 'c'] И вот картина уже не так предсказуема 😕 А вот что будет по умолчанию >>> "a b c".split() ['a', 'b', 'c'] Всё снова красиво! 🤩 По умолчанию в качестве разделителя используется любой пробельный символ, будь то табуляция или новая строка. Включая несколько таких символов идущих подряд. А также игнорируются пробельные символы по краям строки. >>> "a\t b\n c ".split() ['a', 'b', 'c'] Аналогичный способ можно собрать с помощью регулярного выражения. Но пробелы по краям строки придется обрабатывать дополнительно. >>> import re >>> re.split(r"\s+", ' a b c '.strip()) ['a', 'b', 'c'] Здесь тоже можно указать количество разделений >>> re.split(r"\s+", 'a b c', 1) ['a', 'b c'] А что если мы хотим написать красиво, то есть split() без аргументов, но при этом указать количество разделений? В этом случае первым аргументом передаём None >>> "a\n b c".split(None, 1) ['a', 'b c'] Данный метод не учитывает строки с пробелами, взятые в кавычки 'a "b c" '.split() ['a', '"b', 'c"'] Но для таких случаев есть другие способы. #tricks#basic
Пребарај: #epl
@BorussiaDortmund · Post #61387 · 03.05.2026 г., 13:46
Man UTD 🆚 Liverpool | Lineups ⏰ 14:30 GMT 🏟️ Old Trafford 📍 Manchester #EPL
Hashtags
@reinseele1 · Post #321 · 24.11.2024 г., 12:13
Начинаем плей-офф European Pro League Season 21 с победы против Passion UA 😠 Продолжим 25 ноября в 19:00 по МСК против победителя пары NAVI Junior vs Level UP. #Dota2#EPL
@reinseele1 · Post #298 · 15.11.2024 г., 20:43
Спишь? А у нас второй матч группового этапа EPL S21. Подключаемся на самое сладкое 👇 ✨RU | ✨EN #Dota2#EPL
@reinseele1 · Post #288 · 12.11.2024 г., 14:19
Врываемся в групповой этап European Pro League Season 21. Первый противник — Dragon Esports Club. ✨ RU: https://www.twitch.tv/epldota_ru2 ✨ EN: https://www.twitch.tv/epldota_en2 #Dota2#EPL
@tonlines · Post #7241 · 16.05.2025 г., 14:14
Fanton EN: Friday EPL Fantasy Football Insights #EPL#Fanton Fanton EN provides updates for fantasy football fans with matches including Aston Villa against a lower-ranked team and Chelsea hosting Man United. Key players like Ollie Watkins and Enzo Fernández are highlighted for potential fantasy lineups. Participate in the EPL Double Tournament with an entry fee of $9 to secure top spots. Source: link @tonlines
@tonlines · Post #7231 · 15.05.2025 г., 18:16
Fanton EN: Secure Your Spot for the EPL Grand Tournament #EPL#Fanton Fanton EN is offering a promotional opportunity for players to secure tickets to the EPL Grand Tournament with a $2,000 guarantee. By making 7 entries by May 17th at 21:00 UTC, players can receive an additional free lineup and have the chance for more tickets by increasing their entries. Source: link @tonlines
@tonlines · Post #7131 · 09.05.2025 г., 07:58
⚡️Fanton EN: Last Call for EPL Grand Tournament Registration #Fanton#EPL Fanton EN announces the closing of registration for the English Premier League Grand Tournament, with $3,000 guaranteed. Top players in categories such as goalkeepers and defenders are highlighted, encouraging participation from fantasy players. Source: link @tonlines
@tonlines · Post #6734 · 12.04.2025 г., 11:43
Fanton EN: New EPL Round Registration Closing Soon #EPL#Fanton Fanton EN invites participants to join the new EPL round with a $9 entry fee, featuring matches between Brighton vs Leicester, Nottm Forest vs Everton, and Southampton vs Aston Villa. Registration concludes in 2.5 hours. Source: link @tonlines
@tonlines · Post #7649 · 29.11.2025 г., 13:20
Fanton EN: EPL Tournament Begins Soon! #EPL#tournament Fanton EN announces that the EPL tournament with a $300 prize pool is starting in 1.5 hours. Participants can enter for a 9 USDT fee and compete in the 4+1 format. Source: link @tonlines
Hashtags
@tonlines · Post #6787 · 15.04.2025 г., 17:41
⚡️Fanton EN: Exciting Grand Tournament Returns! #Tournament#EPL Fanton EN announces the return of the EPL Grand Tournament with a $5,000 prize pool. The tournament will take place on April 19–20 and offers thrilling competition for participants with a $9 USDT entry fee. Source: link @tonlines
Hashtags
@tonlines · Post #7687 · 02.12.2025 г., 17:35
⚡️Fanton EN: Exciting EPL Midweek Tournament! #EPL#prizes Fanton EN is hosting an exciting English Premier League tournament with a $200 prize pool. Don’t miss the matches from December 2-4, including Newcastle vs Tottenham and Fulham vs Man City. Join now with a $9 entry fee and compete for the prize! Source: link @tonlines
@tonlines · Post #7153 · 10.05.2025 г., 08:11
⚡️Fanton EN: Grand EPL Tournament Kicks Off Soon! #Fanton#USDT#EPL The Fanton EN channel announces the upcoming Grand EPL Tournament offering a prize pool of $3,000. Participants can join by building their teams and competing to win USDT or $FTON with an entry fee of just $11. Source: link @tonlines