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

Резултати

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

Пребарај: #bch

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

@CoinSonar · Post #243359 · 16.04.2026 г., 23:33

#BCH | Volume spike (USDT PAIR) 62 times the average volume 298.52K USDT traded in 1 min └Buying vol: 217.59K USDT 🟢 Boost score: 6/10 24h Vol: 6.91M USDT (Binance) Price: 455.2 (-1.8% in 24h)

Hashtags

American Crypto©

@americancryptotrading · Post #27574 · 31.03.2026 г., 09:39

🇺🇸#BCH/USDT is about to break through the ascendingtriangle on the 2W timeframe👀 Bullish📈 American Crypto©

Hashtags

American Crypto©

@americancryptotrading · Post #27492 · 05.01.2026 г., 09:52

🇺🇸#BCH/USDT is currently trading above the symmetrical triangle formation on the 2W timeframe👨‍💻 Looking for a rise🐃 American Crypto©

Hashtags

American Crypto©

@americancryptotrading · Post #27446 · 22.11.2025 г., 16:18

🇺🇸#BCH Bitcoin Cash is pressing against the upper boundary of the macro ascending channel on the weekly timeframe 📈 Price continues to build higher lows while grinding toward resistance — a classic sign of strength inside a rising structure. Once BCH breaks through the channel top, momentum can accelerate sharply, opening the door for a major continuation move 🚀 The chart is bullish — BCH is preparing for the next expansion leg. American Crypto©

Hashtags

American Crypto©

@americancryptotrading · Post #27403 · 11.10.2025 г., 10:40

🇺🇸#BCH/USDT is consolidating above the symmetricaltriangle pattern on the weekly chart💁‍♂️ The bullish outlook remains intact🚀 American Crypto©

Hashtags

Free Crypto Signals (Profitable Zone)

@btctradingclub · Post #26960 · 22.02.2026 г., 09:58

🔰#BCH Update - Price is pushing higher after the recent bounce. Keeping a close watch on $603, which remains a key upside target on this leg up, as it aligns with the yearly open — a significant level that often acts as strong resistance.

Hashtags

Free Crypto Signals (Profitable Zone)

@btctradingclub · Post #26416 · 24.11.2025 г., 12:01

✅✅ 30% Profit on #BCH/USDT for our Premium Members on Binance Futures/Bybit/OKX & KuCoin 👁‍🗨Contact @primemod to enter the premium group & make daily gains on Futures/Bybit/OKX/Kucoin & Bitget market

Hashtags

Free Crypto Signals (Profitable Zone)

@btctradingclub · Post #26415 · 24.11.2025 г., 08:40

✅✅ 38% Profit on #BCH/USDT for our Premium Members on Binance Futures/Bybit/OKX & KuCoin 👁‍🗨Contact @primemod to enter the premium group & make daily gains on Futures/Bybit/OKX/Kucoin & Bitget market

Hashtags

123•••67
ПретходнаСтраница 1 од 7Следна