23. Stgring Formatting: Hackerrank | Python Solution Explained

preview_player
Показать описание
In this tutorial, I am showing you how to easily and efficiently tackle this hackerrank challenge. The video will also teach you the fundamentals and necessary operations to achieve that.

#hackerrank #hackerranksolutions #pyhtonhackerrank #nestedlists
Рекомендации по теме
Комментарии
Автор

I have difficulties to understand the "width" part with the "rjust" stuff.. ;can you give me more details?

francois-xaviermenage
Автор

hi, I like your way to explain problems solutions, can you upload more videos of hacker rank "Python Solution Explained"

tejaldobariya
Автор

def print_formatted(number):
width = len(bin(number)[2:])
why we need [2:] in width..?

tejaldobariya