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

TGINSIGHT SIMILAR POSTS

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

Изворен канал @pythonotes · Post #156 · 2 окт.

Те, кто в Python не первый день, хорошо знают, что на число можно умножить не только число, но и другие типы. Главное, чтобы у этих типов была реализация такой операции. # list >>> [1] * 3 [1, 1, 1] # tuple >>> (2, 3) * 3 (2, 3, 2, 3, 2, 3) # string >>> "A" * 3 "AAA" Так работает полиморфизм стандартных типов. Интересно здесь то, что это сработает и в том случае, когда порядок операндов обратный. То есть int умножить на [тип]. # list >>> 3 * [1] [1, 1, 1] # tuple >>> 3 * (2, 3) (2, 3, 2, 3, 2, 3) # string >>> 3 * "A" "AAA" Если хотите реализовать такое поведение в ваших классах то следует помнить два момента: 1. Если множитель справа, то вам нужно реализовать метод __mul__, наш класс это первый операнд, то есть слева. myType * 3 2. Если множитель слева, то вам нужно реализовать метод __rmul__, наш класс это второй операнд, справа. 3* myType Всё тоже самое можно делать и для других математических операторов. И если в этом примере действие и результат будут фактически одинаковыми, то бывают ситуации, когда это не так. Например, при умножении матриц имеет значение порядок операндов. Для других операторов, таких как деление или сдвиг, очень важно кто с какой стороны находится. >>> 2/4, 4/2 (0.5, 2.0) >>> 2<<3, 3<<2 (16, 12) >>> 100%15, 15%100 (10, 15) #tricks#basic

Резултати

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

Пребарај: #people

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

@CoinSonar · Post #243944 · 18.04.2026 г., 03:27

#PEOPLE | Volume spike (USDT PAIR) 229 times the average volume 99.25K USDT traded in 1 min └Selling vol: 73.86K USDT 🔴 Boost score: 1/10 24h Vol: 623.86K USDT (Binance) Price: 0.00800 (-3.6% in 24h)

Hashtags

Coin Sonar

@CoinSonar · Post #243509 · 17.04.2026 г., 07:43

#PEOPLE | Volume spike (USDT PAIR) 19 times the average volume 129.36K USDT traded in 15 min └Selling vol: 98.72K USDT 🔴 Boost score: 1/10 24h Vol: 623.86K USDT (Binance) Price: 0.00814 (-3.6% in 24h)

Hashtags

Coin Sonar

@CoinSonar · Post #243454 · 17.04.2026 г., 05:16

#PEOPLE | Volume spike (USDT PAIR) 21 times the average volume 138.37K USDT traded in 15 min └Selling vol: 98.05K USDT 🔴 Boost score: 1/10 24h Vol: 623.86K USDT (Binance) Price: 0.00836 (-3.6% in 24h)

Hashtags

Coin Sonar

@CoinSonar · Post #243416 · 17.04.2026 г., 02:05

#PEOPLE | Volume spike (USDT PAIR) 23 times the average volume 155.18K USDT traded in 15 min └Selling vol: 120.81K USDT 🔴 Boost score: 1/10 24h Vol: 623.86K USDT (Binance) Price: 0.00852 (-3.6% in 24h)

Hashtags

Coin Sonar

@CoinSonar · Post #243351 · 16.04.2026 г., 23:10

#PEOPLE | Volume spike (USDT PAIR) 19 times the average volume 128.26K USDT traded in 15 min └Buying vol: 82.13K USDT 🟢 Boost score: 5/10 24h Vol: 623.86K USDT (Binance) Price: 0.00895 (-3.6% in 24h)

Hashtags

Coin Sonar

@CoinSonar · Post #243292 · 16.04.2026 г., 19:29

#PEOPLE | Volume spike (USDT PAIR) 21 times the average volume 137.92K USDT traded in 15 min └Selling vol: 87.92K USDT 🔴 Boost score: 1/10 24h Vol: 623.86K USDT (Binance) Price: 0.00891 (-3.6% in 24h)

Hashtags

Pro Analysis

@proanalysistrader · Post #28550 · 16.03.2025 г., 15:32

#PEOPLE/USDT analysis : #PEOPLE is in a downtrend, forming lower lows (LLs) and lower highs (LHs) below the 200 EMA. The price is currently facing resistance and is anticipated to decline from there, testing lower levels. TF : 2H Entry : $0.01564 Target : $0.01359 SL : $0.01710

Hashtags

Pro Analysis

@proanalysistrader · Post #28449 · 04.02.2025 г., 14:41

#PEOPLE/USDT analysis : #PEOPLE is currently retracing towards the 200 EMA, before continuation of bearish momentum. The current support level is favorable for long entry, as bullish momentum is anticipated on the lower time frames. TF : 1h Entry : $0.01970 Target : $0.02496 SL : $0.01726

Hashtags

Pro Analysis

@proanalysistrader · Post #27906 · 05.09.2024 г., 17:01

#PEOPLE/USDT analysis : Price is in a downtrend forming lower lows (LLs) and lower highs (LHs) below the 200 EMA. The price is expected to continue its bearish momentum and exhibit further decline in price from the current resistance zone. TF : 1H Entry : $0.0582 Target : $0.0497 SL : $0.0629

Hashtags

American Crypto©

@americancryptotrading · Post #27423 · 30.10.2025 г., 08:56

🇺🇸#PEOPLE/USDT is rebounding from the supportzone on the weekly chart👨‍💻 A great moment to accumulate📈 American Crypto©

Hashtags

Free Crypto Signals (Profitable Zone)

@btctradingclub · Post #26677 · 02.01.2026 г., 14:40

✅✅ 47% Profit on #PEOPLE/USDT for our Premium Members on On Binance Futures, Bitget Futures, ByBit USDT, KuCoin Futures, OKX Futures 👆🏻All Profit Targets Successfully Completed 👁‍🗨Contact @primemod to enter the most powerful premium group & make daily gains

Hashtags

Everything Science

@everything_science · Post #3500 · 09.06.2025 г., 19:13

9-year-old was meant to run a 5K, but took a wrong turn. He kept going and ended up winning the adult 10K! #People 🔔@Everything_Science

Hashtags

123•••10•••1314
ПретходнаСтраница 1 од 14Следна