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

Резултати

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

Пребарај: #metis

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

@CoinSonar · Post #244045 · 18.04.2026 г., 07:40

#METIS | Volume spike (USDT PAIR) 33 times the average volume 128.29K USDT traded in 15 min └Selling vol: 83.17K USDT 🔴 Boost score: 1/10 24h Vol: 372.82K USDT (Binance) Price: 3.82 (-0.6% in 24h)

Hashtags

Coin Sonar

@CoinSonar · Post #243942 · 18.04.2026 г., 03:23

#METIS | Volume spike (USDT PAIR) 33 times the average volume 129.69K USDT traded in 15 min └Selling vol: 87.13K USDT 🔴 Boost score: 1/10 24h Vol: 372.82K USDT (Binance) Price: 4.00 (-0.6% in 24h)

Hashtags

Coin Sonar

@CoinSonar · Post #243887 · 18.04.2026 г., 00:09

#METIS | Volume spike (USDT PAIR) 35 times the average volume 136.19K USDT traded in 15 min └Selling vol: 84.07K USDT 🔴 Boost score: 1/10 24h Vol: 372.82K USDT (Binance) Price: 4.20 (-0.6% in 24h)

Hashtags

Coin Sonar

@CoinSonar · Post #243764 · 17.04.2026 г., 16:06

#METIS | Volume spike (USDT PAIR) 34 times the average volume 133.47K USDT traded in 15 min └Buying vol: 72.27K USDT 🟢 Boost score: 4/10 24h Vol: 372.82K USDT (Binance) Price: 4.62 (-0.6% in 24h)

Hashtags

Coin Sonar

@CoinSonar · Post #243703 · 17.04.2026 г., 14:06

#METIS | Volume spike (USDT PAIR) 448 times the average volume 116.07K USDT traded in 1 min └Buying vol: 79.66K USDT 🟢 Boost score: 8/10 24h Vol: 372.82K USDT (Binance) Price: 5.33 (-0.6% in 24h)

Hashtags

Coin Sonar

@CoinSonar · Post #243628 · 17.04.2026 г., 12:06

#METIS | Volume spike (USDT PAIR) 47 times the average volume 185.58K USDT traded in 15 min └Buying vol: 118.97K USDT 🟢 Boost score: 3/10 24h Vol: 372.82K USDT (Binance) Price: 4.43 (-0.6% in 24h)

Hashtags

Coin Sonar

@CoinSonar · Post #243584 · 17.04.2026 г., 10:06

#METIS | Volume spike (USDT PAIR) 138 times the average volume 178.98K USDT traded in 5 min └Buying vol: 97.28K USDT 🟢 Boost score: 4/10 24h Vol: 372.82K USDT (Binance) Price: 4.75 (-0.6% in 24h)

Hashtags

Coin Sonar

@CoinSonar · Post #243529 · 17.04.2026 г., 08:06

#METIS | Volume spike (USDT PAIR) 479 times the average volume 620.29K USDT traded in 5 min └Selling vol: 358.12K USDT 🔴 Boost score: 1/10 24h Vol: 372.82K USDT (Binance) Price: 5.46 (-0.6% in 24h)

Hashtags

Coin Sonar

@CoinSonar · Post #243473 · 17.04.2026 г., 06:06

#METIS | Volume spike (USDT PAIR) 93 times the average volume 120.56K USDT traded in 5 min └Buying vol: 92.10K USDT 🟢 Boost score: 7/10 24h Vol: 372.82K USDT (Binance) Price: 3.44 (-0.6% in 24h)

Hashtags

🚀🚀 Another massive profit made in Premium Group and this time it is#METIS/USDT which crossed All the Profit Targets for an humongous gain of 50% 🗨Contact @futurechief to enter the Binance Futures/Bybit/Kucoin/OKX Premium Signal Group & Receive daily high quality signals by being in the Premium Group

Hashtags

Crypto Angels

@cryptoangelsusa · Post #22208 · 06.01.2026 г., 16:51

Binance Futures, BingX Futures, Bitget Futures, BloFin Futures #METIS/USDT All take-profit targets achieved 😎 Profit: 185.0277% 📈 Period: 8 Days 9 Hours 33 Minutes ⏰

Hashtags

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