Hackerrank String Formatting solution in python | python question solution
Given an integer, , print the following values for each integer from to :DecimalOctalHexadecimal (capitalized)BinaryFunction DescriptionComplete the print_formatted function in the editor below.print_formatted has the following parameters:int number: the maximum value to printPrintsThe four values must be printed…