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

TGINSIGHT SIMILAR POSTS

Најди сличен содржај

Изворен канал @pythonotes · Post #418 · 9 мар.

Оператор pipe позволяет писать более компактный код, реализуя логику объединения данных (Union). Важно помнить, что его поведение зависит от контекста. Побитовые операции (логическое OR) result = 5 | 3 # 5 (0101) | 3 (0011) = 7 (0111) Самое главное - не путать с оператором or, это другое! Объединение множеств set_a = {1, 2, 3} set_b = {3, 4, 5} set_c = set_a | set_b # {1, 2, 3, 4, 5} set_c |= {5, 6} # {1, 2, 3, 4, 5, 6} Слияние словарей dict_1 = {"a": 1, "b": 2} dict_2 = {"b": 3, "c": 4} merged = dict_1 | dict_2 # {'a': 1, 'b': 3, 'c': 4} merged |= {"d": 5} # {'a': 1, 'b': 3, 'c': 4, 'd': 5} Аннотации типов, заменяет Union def process_data(value: int | str) -> None: print(value) Допустимо использовать в isinstance или issubclass isinstance(3, int | float) # True Паттерн-матчинг status_code = 404 match status_code: case 200 | 201 | 204: print("OK") case 400 | 404 | 500: print("ERROR") Для использования в своих классах требуется переопределить метод __or__ Так же нашел библиотеку pipe которая добавляет еще много возможностей. Рекомендую ознакомиться ;) #basic

Hashtags

Резултати

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

Пребарај: #ata

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

@CoinSonar · Post #244055 · 18.04.2026 г., 07:57

#ATA | Volume spike (USDT PAIR) 509 times the average volume 208.43K USDT traded in 15 min └Buying vol: 120.23K USDT 🟢 Boost score: 1/10 24h Vol: 39.30K USDT (Binance) Price: 0.0119 (-3.0% in 24h)

Hashtags

Coin Sonar

@CoinSonar · Post #244001 · 18.04.2026 г., 05:56

#ATA | Volume spike (USDT PAIR) 790 times the average volume 107.88K USDT traded in 5 min └Buying vol: 86.67K USDT 🟢 Boost score: 6/10 24h Vol: 39.30K USDT (Binance) Price: 0.0119 (-3.0% in 24h)

Hashtags

Pro Analysis

@proanalysistrader · Post #27972 · 29.09.2024 г., 12:39

#ATA/USDT analysis : #ATA is currently finding support above the 200-period exponential moving average (200 EMA) within the support zone. The price is anticipated to test this zone and maintain its bullish momentum to reach the previous swing high. TF : 4h Entry : $0.0900 Target : $0.0983 SL : $0.0850

Hashtags

American Crypto©

@americancryptotrading · Post #27544 · 24.02.2026 г., 09:49

🇺🇸#ATA/USDT is consolidating near the lowerborder of the descendingchannel formation on the weekly timeframe🔍 Market recovery is underway🚀 American Crypto©

Hashtags

American Crypto©

@americancryptotrading · Post #27077 · 08.12.2024 г., 17:57

🇺🇸#ATA/USDT is forming a descendingchannel on the weekly timeframe💁‍♂️ Send it if we do breakout🚀 American Crypto©

Hashtags

We want you

@we_want_youu · Post #4196 · 14.08.2024 г., 05:54

Currently, #ATAUSDT is compressed within a falling wedge pattern, a classic bullish reversal signal. Should #ATA fail to bounce back from the $0.0820-$0.0700 support, our eyes will be on the next critical level at $0.0580. Historically, this level has been a stronghold, and the probability of a rebound here is notably higher. But if $ATA breaks below these key support levels, the bears might take control, potentially leading to a bearish continuation.

Hashtags

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