@anatomyarthub · Post #5116 · 15.05.2025 г., 04:25
#лицо#face @anatomyarthub
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
Пребарај: #face
@anatomyarthub · Post #5116 · 15.05.2025 г., 04:25
#лицо#face @anatomyarthub
@libreware · Post #1048 · 22.02.2022 г., 03:21
Random Face Generator A Cross-Platform app to Generate Faces of (non-existing) People Random Face Generator is a flutter app to generate random faces. The Generated faces do not actually exist in real life.This app uses the thispersondoesnotexist and the fakeface API. Each image has been pre-analyzed by an AI algorithm called pypy-agender to identify the gender and age. Download - https://github.com/adityar224/Random-Face-Generator/releases https://github.com/adityar224/Random-Face-Generator #Face#Generator#AI @foss_Android
Hashtags
@AloneSnowflake · Post #192 · 15.11.2023 г., 00:50
๛ᴀᴘᴘʟʏ ᴛʜᴇᴍᴇ🤍 ๛ᴀᴘᴘʟʏ ᴛʜᴇᴍᴇ ᴛɢx ๛sᴇᴛ ᴡᴀʟʟᴘᴀᴘᴇʀ ๛ᴊᴏɪɴ ᴄʜᴀɴɴᴇʟ🩶 #Girl#Gray#Face#Aesthetic
Hashtags
@googlefactss · Post #40579 · 23.01.2026 г., 23:05
The glabella is the smooth area of skin between your eyebrows and above your nose. It helps show facial expressions like frowning. 👁️🗨️🙂 @googlefactss #Glabella#Face#BodyFacts
Hashtags
@blackwallp · Post #68098 · 04.04.2026 г., 05:35
#девчата#лицо#girls#face 🎥Videowallpaper |😀Emoji |🎼Ringtone
@anatomyarthub · Post #5228 · 16.06.2025 г., 10:38
#референсы#лицо#references#face @anatomyarthub
Hashtags
@anatomyarthub · Post #2945 · 15.04.2024 г., 10:25
#лицо#референсы#face#references @anatomyarthub
Hashtags
@anatomyarthub · Post #2798 · 17.03.2024 г., 11:51
#референсы#лицо#references#face @anatomyarthub
Hashtags
@anatomyarthub · Post #2788 · 16.03.2024 г., 11:43
#референсы#лицо#references#face @anatomyarthub
Hashtags
@anatomyarthub · Post #2712 · 01.03.2024 г., 06:10
#референсы#references#лицо#face @anatomyarthub
Hashtags
@testflightynoti · Post #37945 · 09.05.2026 г., 19:52
#Aww#That#Face Join the Aww… That Face beta on ✈️#TestFlight 🔗 Link: https://testflight.apple.com/join/XXjasct4 Shared by Dimitri
Hashtags
@googlefactss · Post #40692 · 22.02.2026 г., 15:02
The nasion is the point where the frontal bone and the two nasal bones meet, located right between your eyes at the top of your nose bridge. It’s a key landmark in facial anatomy and measurements. 👃📏 [Source picture] @googlefactss #Nasion#Face#AnatomyFacts
Hashtags