in python make a program that takes two integer values from the…

Question Answered step-by-step in python make a program that takes two integer values from the… in python make a program that takes two integer values from the user – a number and a base. For simplicity, ensure the highest base can be is 16. Ensure you validate the input as a part of your code. The program should take number and divide it by the base. If the division result does not produce a remainder, concatenate 0 onto a string. If the division result results in a remainder, then concatenate that remainder onto the string checking first if the remainder is greater than 9. If the remainder is greater than 9, first convert it to a letter with 10 = A, 11 = B, 12 = C, 13 = D, 14 = E, 15 = F. Continue this process of dividing by base using the new result until the result is less than or equal to 1. Be sure to concatenate the final remainder onto the string. Finally, print the string in reverse. Computer Science Engineering & Technology Python Programming CPT MISC Share QuestionEmailCopy link Comments (0)