Telegram Group & Telegram Channel
В Format Mini-Language есть еще фокусы:


memory = 1.5e9 # 1.5 GB в байтах

# Выравнивание и заполнение
print(f"Memory (right aligned): {memory / 1e9:>10.2f} GB") # выравнивание по правому краю
print(f"Memory (left aligned): {memory / 1e9:<10.2f} GB") # выравнивание по левому краю
print(f"Memory (centered): {memory / 1e9:^10.2f} GB") # центрирование
print(f"Память: {memory / 1e9:010.2f} GB") # заполнение нулями

# Группировка цифр
print(f"Память: {memory:,.0f} байт(-ов)") # разделение запятыми



tg-me.com/quiz_python/3927
Create:
Last Update:

В Format Mini-Language есть еще фокусы:


memory = 1.5e9 # 1.5 GB в байтах

# Выравнивание и заполнение
print(f"Memory (right aligned): {memory / 1e9:>10.2f} GB") # выравнивание по правому краю
print(f"Memory (left aligned): {memory / 1e9:<10.2f} GB") # выравнивание по левому краю
print(f"Memory (centered): {memory / 1e9:^10.2f} GB") # центрирование
print(f"Память: {memory / 1e9:010.2f} GB") # заполнение нулями

# Группировка цифр
print(f"Память: {memory:,.0f} байт(-ов)") # разделение запятыми

BY Python: задачки и вопросы


Warning: Undefined variable $i in /var/www/tg-me/post.php on line 283

Share with your friend now:
tg-me.com/quiz_python/3927

View MORE
Open in Telegram


Python: задачки и вопросы Telegram | DID YOU KNOW?

Date: |

Importantly, that investor viewpoint is not new. It cycles in when conditions are right (and vice versa). It also brings the ineffective warnings of an overpriced market with it.Looking toward a good 2022 stock market, there is no apparent reason to expect these issues to change.

Can I mute a Telegram group?

In recent times, Telegram has gained a lot of popularity because of the controversy over WhatsApp’s new privacy policy. In January 2021, Telegram was the most downloaded app worldwide and crossed 500 million monthly active users. And with so many active users on the app, people might get messages in bulk from a group or a channel that can be a little irritating. So to get rid of the same, you can mute groups, chats, and channels on Telegram just like WhatsApp. You can mute notifications for one hour, eight hours, or two days, or you can disable notifications forever.

Python: задачки и вопросы from us


Telegram Python: задачки и вопросы
FROM USA