Retourner au contenu associé (journal : PoC : Transformer les tableaux associatifs (dict/map) en vecteur algébrique)
Posté par Jul (site web personnel) le 16 avril 2026 à 20:24. En réponse au journal PoC : Transformer les tableaux associatifs (dict/map) en vecteur algébrique. Évalué à 2.
from archery import mdict as d d({ "foo" : "bar" }) / d({ "linux" : 7}) # {}
Là, je ne vois pas :)
Par contre si j'ai
from archery import mdict as Point Point(x=1, y=1) / 7 # {'x': 0.14285714285714285, 'y': 0.14285714285714285}
J'ai bien une homothétie d'un facteur 1/7 sur un vecteur :)
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
[^] # Re: Il dit qu'il n'a plus de genou
Posté par Jul (site web personnel) . En réponse au journal PoC : Transformer les tableaux associatifs (dict/map) en vecteur algébrique. Évalué à 2.
Là, je ne vois pas :)
Par contre si j'ai
J'ai bien une homothétie d'un facteur 1/7 sur un vecteur :)