PYTHONJUNIORJOB Telegram 855
#вопрос247

Создайте функцию, которая принимает число в шестнадцатеричном формате (HEX) и возвращает его двоичный эквивалент (в виде строки).

Примеры:

to_binary(0xFF) ➞ "11111111"

to_binary(0xAA) ➞ "10101010"

to_binary(0xFA) ➞ "11111010"
👍1



tgoop.com/pythonjuniorjob/855
Create:
Last Update:

#вопрос247

Создайте функцию, которая принимает число в шестнадцатеричном формате (HEX) и возвращает его двоичный эквивалент (в виде строки).

Примеры:

to_binary(0xFF) ➞ "11111111"

to_binary(0xAA) ➞ "10101010"

to_binary(0xFA) ➞ "11111010"

BY Python вопросы на собеседовании с ответами


Share with your friend now:
tgoop.com/pythonjuniorjob/855

View MORE
Open in Telegram


Telegram News

Date: |

Telegram Android app: Open the chats list, click the menu icon and select “New Channel.” So far, more than a dozen different members have contributed to the group, posting voice notes of themselves screaming, yelling, groaning, and wailing in various pitches and rhythms. Users are more open to new information on workdays rather than weekends. Each account can create up to 10 public channels A vandalised bank during the 2019 protest. File photo: May James/HKFP.
from us


Telegram Python вопросы на собеседовании с ответами
FROM American