Функция get_user_info() возвращает кортеж из трех элементов, где:
— username — пустая строка — full_name — не пустая строка ("John Doe") — first_name — также не пустая строка ("John")
В строке display_name = username or full_name or first_name or "Anonymous":
— интерпретатор проверяет условия по очереди и сразу выбирает первое истинное значение; — Поскольку username пустой, проверяется full_name (непустой), и оно присваивается переменной display_name.
Функция get_user_info() возвращает кортеж из трех элементов, где:
— username — пустая строка — full_name — не пустая строка ("John Doe") — first_name — также не пустая строка ("John")
В строке display_name = username or full_name or first_name or "Anonymous":
— интерпретатор проверяет условия по очереди и сразу выбирает первое истинное значение; — Поскольку username пустой, проверяется full_name (непустой), и оно присваивается переменной display_name.
Telegram channels fall into two types: There have been several contributions to the group with members posting voice notes of screaming, yelling, groaning, and wailing in different rhythms and pitches. Calling out the “degenerate” community or the crypto obsessives that engage in high-risk trading, Co-founder of NFT renting protocol Rentable World emiliano.eth shared this group on his Twitter. He wrote: “hey degen, are you stressed? Just let it out all out. Voice only tg channel for screaming”. Concise The administrator of a telegram group, "Suck Channel," was sentenced to six years and six months in prison for seven counts of incitement yesterday. Those being doxxed include outgoing Chief Executive Carrie Lam Cheng Yuet-ngor, Chung and police assistant commissioner Joe Chan Tung, who heads police's cyber security and technology crime bureau.
from us