string formatting in python hackerrank solution
Given an integer , n, print the following values for each integer i from 1to n :
Decimal
Octal
Hexadecimal (capitalized)
Binary
The four values must be printed on a single line in the order specified above for each i from 1 to n. Each value should be space-padded to match the width of the binary value of n.