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

Резултати

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

Пребарај: #knc

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

@CoinSonar · Post #243789 · 17.04.2026 г., 17:27

#KNC | Volume spike (USDT PAIR) 37 times the average volume 133.05K USDT traded in 15 min └Selling vol: 68.20K USDT 🔴 Boost score: 1/10 24h Vol: 344.44K USDT (Binance) Price: 0.1480 (-0.3% in 24h)

Hashtags

Coin Sonar

@CoinSonar · Post #243719 · 17.04.2026 г., 14:48

#KNC | Volume spike (USDT PAIR) 38 times the average volume 139.91K USDT traded in 15 min └Buying vol: 90.32K USDT 🟢 Boost score: 6/10 24h Vol: 344.44K USDT (Binance) Price: 0.1548 (-0.3% in 24h)

Hashtags

Pro Analysis

@proanalysistrader · Post #28477 · 18.02.2025 г., 13:57

#KNC/USDT analysis : #KNC is retracing towards the 200 EMA, indicating potential upside. The price is respecting the trendline and bouncing back, which suggests a good opportunity for a long entry. Previous highs will serve as target levels. TF : 4H Entry : $0.4198 Target : $0.4582 SL : $0.3939

Hashtags

Pro Analysis

@proanalysistrader · Post #27936 · 15.09.2024 г., 16:40

#KNC/USDT analysis : #KNC is currently in a downtrend, trading below the 200 EMA. The price is forming a pattern of lower lows and lower highs. At present, the price is facing resistance near the 200 EMA, suggesting a potential reversal from this point to maintain its bearish movement and establish a new lower low. TF : 4H Entry : $0.4419 Target : $0.4083 SL : $0.4589

Hashtags

American Crypto©

@americancryptotrading · Post #27385 · 23.09.2025 г., 09:12

🇺🇸#KNC/USDT is attempting to bounce off the supportzone on the weekly chart💁‍♂️ Time to load a bag🐃 American Crypto©

Hashtags

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