Question: In this problem, you'll write a function that takes a number in base 17 (as a string) and return the decimal value. We'll simply extend

In this problem, you'll write a function that takes a number in base 17 (as a string) and return the decimal value. We'll simply extend base 16 by adding another digit G. Since F represents 15, G will represent 16. Interestingly, Python can interpret base 17 as we've imagined: >> int("G", 17) 16 >> int ("E2",17) 240 >> int ("10",17) 17 Programming Problem 4: Base 17 - Complete the function. - You cannot use the integer function int( (x,y) to convert to decimal. You must build the decimal value from powers of 17. You can still use int (x). Revising the lectures slides on conversion between number system can help to understand and solve this
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
