How to convert octal to decimal code
Implement octal_to_decimal(octal) to convert a non-negative octal number represented as a string into its decimal integer value. Process the digits without using base-conversion libraries. For example, "17" returns 15, and "204" returns 132.
def octal_to_decimal(octal):