Convert Decimal number to octal using print() output formatting using Python programming
belongs to collection: Python Input and Output Exercises
All Answers
total answers (1)
belongs to collection: Python Input and Output Exercises
total answers (1)
Hint:
Use the
%o
formatting code in print() function to format decimal number to octal.Solution:
need an explanation for this answer? contact us directly to get an explanation for this answer