Python

 

Write a program that takes an integer input b that represents a number base and prints all

numbers with two digits in that base. Print all numbers in one line, separated by spaces, in ascending order. For example, if b is 2, the output should be 00 01 10 11. Use

a function called numbase (b). Check for invalid number bases

 

 

 

    • 11 years ago
    A+ Answers
    NOT RATED

    Purchase the answer to view it

    blurred-text
    • attachment
      integer_input_b.doc