Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

WAP which defines and calls a function that receives an octal number and prints the equivalent number bases i.e. in decimal, binary and hexadecimal equivalents.

a=int(input("enter a octal no:"))
 
PREVIOUS NEXT
Tagged: #WAP #defines #calls #function #receives #octal #number #prints #equivalent #number #bases #binary #hexadecimal
ADD COMMENT
Topic
Name
2+8 =