PYTHONTURBORU Telegram 510
🍳 Задача по Python #29

Описание

Напишите функцию, которая преобразует введенное пользователем число в бинарное представление и подсчитывает количество единиц в этом числе.

Примеры
func(10) # [1010, 2]
func(25) # [11001, 3]

Свой вариант решения в комментарии 💭
Кодом делиться через pastebin.org или repl.it.

#задачи
🔥21👏1



tgoop.com/pythonturboru/510
Create:
Last Update:

🍳 Задача по Python #29

Описание

Напишите функцию, которая преобразует введенное пользователем число в бинарное представление и подсчитывает количество единиц в этом числе.

Примеры

func(10) # [1010, 2]
func(25) # [11001, 3]

Свой вариант решения в комментарии 💭
Кодом делиться через pastebin.org или repl.it.

#задачи

BY Python Turbo. Уютное сообщество Python разработчиков.




Share with your friend now:
tgoop.com/pythonturboru/510

View MORE
Open in Telegram


Telegram News

Date: |

But a Telegram statement also said: "Any requests related to political censorship or limiting human rights such as the rights to free speech or assembly are not and will not be considered." In the next window, choose the type of your channel. If you want your channel to be public, you need to develop a link for it. In the screenshot below, it’s ”/catmarketing.” If your selected link is unavailable, you’ll need to suggest another option. Ng, who had pleaded not guilty to all charges, had been detained for more than 20 months. His channel was said to have contained around 120 messages and photos that incited others to vandalise pro-government shops and commit criminal damage targeting police stations. To edit your name or bio, click the Menu icon and select “Manage Channel.” Step-by-step tutorial on desktop:
from us


Telegram Python Turbo. Уютное сообщество Python разработчиков.
FROM American