TGTGInsighttelegram intelligenceLIVE / telegram public index
← Python Заметки

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

Резултати

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

Пребарај: #ong

当前筛选 #ong清除筛选
Coin Sonar

@CoinSonar · Post #243938 · 18.04.2026 г., 03:01

#ONG | Volume spike (USDT PAIR) 16 times the average volume 130.84K USDT traded in 15 min └Buying vol: 89.48K USDT 🟢 Boost score: 6/10 24h Vol: 768.94K USDT (Binance) Price: 0.0893 (-5.0% in 24h)

Hashtags

Coin Sonar

@CoinSonar · Post #243905 · 18.04.2026 г., 00:59

#ONG | Volume spike (USDT PAIR) 40 times the average volume 109.28K USDT traded in 5 min └Buying vol: 60.13K USDT 🟢 Boost score: 6/10 24h Vol: 768.94K USDT (Binance) Price: 0.0842 (-5.0% in 24h)

Hashtags

Pro Analysis

@proanalysistrader · Post #28368 · 05.01.2025 г., 15:33

#ONG/USDT analysis : #ONG is currently moving sideways within a support and resistance zone on the weekly timeframe. The price is bouncing back from the support level and is anticipated to continue rising, aiming to test the resistance zone. A potential gain of +100% is expected from the current level. TF : 1D Entry : $0.3400 Target : $0.7280 SL : $0.2390

Hashtags

Pro Analysis

@proanalysistrader · Post #28129 · 06.11.2024 г., 15:42

#ONG/USDT analysis : #ONG is in a downtrend, making new lows while trading below the 200 EMA. The price is currently showing a retracement towards the 200 EMA and the resistance zone, and it is expected to reverse and continue its bearish momentum. It is advisable to wait for the price to retest the zone and show rejection for a short entry. TF : 4h Entry : $0.2869 Target : $0.2631 SL : $0.3005

Hashtags

Pro Analysis

@proanalysistrader · Post #27832 · 12.08.2024 г., 13:42

#ONG/USDT analysis : #ONG is presently trading within the resistance zone below the 200 EMA. The current price action indicates rejection at this resistance level. There is a strong expectation that the price will persist in its downward momentum and revisit previous lows. It is recommended to await a break below the $0.2811 level for confirmation before considering an entry. TF : 4H Entry : $0.2811 Target : $0.2322 SL : $0.3118

Hashtags

American Crypto©

@americancryptotrading · Post #27144 · 04.02.2025 г., 19:27

🇺🇸#ONG/USDT is bouncing from the s/rzone on the weekly timeframe💁‍♂️ Looking for a rise🚀 American Crypto©

Hashtags

Coinlegs Cryptocurrency Signals

@coinlegs · Post #10207 · 17.04.2024 г., 08:04

#ONG | Trendline Breakout Detected by CoinLegs Algo 😎 Long position can be opened when the price returns to the trend line and approaches the yellow zone. The yellow zone is both a strong demand, EMA 50 and the Ichimoku zone.

Hashtags

Crypto Profit Coach™

@cryptoprofitcoach · Post #9180 · 30.01.2026 г., 12:40

#ONG👈 https://www.binance.com/en/trade/ONG_BTC Buyzone 91-93 ✔️ Sell 🤑 100-105 🤑 105-115 🤑 115-125 🚀 125-135 & above Bullish above 86-88 Range For above Projections value must remains above 88 else coin will be in dead zone

Hashtags

ПретходнаСтраница 1 од 3Следна