@MEXC_FairPrice_Spreads · Post #1262 · 09.02.2026 г., 01:23
#CAI | 13.20% | SHORT🔴 Last Price: 0.0463 Fair Price: 0.0409 Max Leverage: 20x Max Size: 55.56$ MEXC Fair Price Spreads
Hashtags
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
Пребарај: #cai
@MEXC_FairPrice_Spreads · Post #1262 · 09.02.2026 г., 01:23
#CAI | 13.20% | SHORT🔴 Last Price: 0.0463 Fair Price: 0.0409 Max Leverage: 20x Max Size: 55.56$ MEXC Fair Price Spreads
Hashtags
@MEXC_FairPrice_Spreads · Post #1024 · 02.02.2026 г., 09:13
#CAI | 13.67% | LONG🟢 Last Price: 0.0562 Fair Price: 0.0651 Max Leverage: 20x Max Size: 67.44$ MEXC Fair Price Spreads
Hashtags
@BinanceAlphaAirdropTracker · Post #521 · 12.01.2026 г., 07:58
⏰#CAI Claim with minimum 252 pts starts in about 2 minutes 🎁 Airdrop: 40 $CAI ($NotAvailable)
Hashtags
@WangZhuanZhan · Post #34516 · 28.10.2024 г., 12:55
C-c彩c桥q- 彩桥 (1982) 直达链接:https://pan.quark.cn/s/a016840f82fb #彩桥 #Cai qiao 链接:https://link3.cc/sf_com #电影#爱情#内地#80年代
@ai_and_law · Post #197 · 22.12.2023 г., 08:04
CAI Unveils Public "Zero Draft" for AI Framework Convention Greetings AI & Law community! The European Committee on Artificial Intelligence (CAI) has announced the public release of the revised "Zero Draft" Framework Convention on Artificial Intelligence, Human Rights, Democracy, and the Rule of Law. Key Points: 1️⃣ The "Zero Draft" serves as the foundational document for drafting the Framework Convention and is not the final outcome of CAI negotiations. 2️⃣ A Consolidated Working Draft has been prepared based on the first reading of the revised Zero Draft, containing preliminary agreements and proposals for further negotiations. 3️⃣ The text which is not in brackets and in red font is considered to be preliminarily agreed. 4️⃣ The CAI Bureau has decided to make this document public, providing transparency into the ongoing process. The recently released Draft Framework Convention, based on outcomes from the second reading, will be the focal point for the upcoming 9th Plenary meeting. Notably, provisions under negotiation include the Scope, Risk and impact management framework, and the Conference of the Parties. #AIlaw#CAI#AIregulation#FrameworkConvention#TransparencyInAI
@githubtrending · Post #15481 · 09.02.2026 г., 11:30
#go#actions#cai#ci#claude_code#codex#copilot#gh_extension#github_actions GitHub Agentic Workflows let you write simple markdown instructions in natural language to automate repo tasks like triaging issues, fixing CI failures, generating reports, and improving code—running safely as GitHub Actions with AI like Copilot or Claude. Strong guardrails ensure read-only access by default, sandboxed execution, and human-reviewed outputs via pull requests. This saves you time on repetitive work, boosts efficiency with adaptive AI decisions, and keeps everything secure without complex YAML coding. https://github.com/github/gh-aw