Horje
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. Code Example
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:"))




Python

Related
can I activate a function inside the definition of the same function Code Example can I activate a function inside the definition of the same function Code Example
try: if '1' != 1: raise "someError" else: print("someError has not occurred") except "someError": print ("someError has occurred") Code Example try: if '1' != 1: raise "someError" else: print("someError has not occurred") except "someError": print ("someError has occurred") Code Example
print("python is good") Code Example print("python is good") Code Example
{:.1%} print one decimal pandas Code Example {:.1%} print one decimal pandas Code Example
python enumerate list with comprehension Code Example python enumerate list with comprehension Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
8