Question 1 : Python (Integer to decimal,octal,hexadecimal, binary)
Answer:: def print_formatted(number): width= len ( bin (n)[ 2 :]) for i in range ( 1 ,number+ 1 ): print ( str (i).rjust(widt…
Lorem Ipsum has been the industry's standard dummy text.
Answer:: def print_formatted(number): width= len ( bin (n)[ 2 :]) for i in range ( 1 ,number+ 1 ): print ( str (i).rjust(widt…