Your university professor decided to have a little fun and asked the class to implement a function that, given a number n and a base x, converts the number from base x to base 16. To make things more interesting, he announced that the first student to write the solution will have to answer fewer question than the rest of the class during the final exam.
Laughing devilishly, you asked if it was okay to use a language of your choice, and the unsuspecting professor answered "yes". It's settled then: Python is your language of choice!
Now you're bound to win. Implement a function that, given an integer number n and a base x, converts n from base x to base 16.
На этой странице сайта вы можете посмотреть видео онлайн [Python] meet python - Base Conversion ★bambi coding длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь 밤비와 코딩 08 Апрель 2017, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 273 раз и оно понравилось 0 зрителям. Приятного просмотра!