Decimal to Binary in Python Code Error
I was trying to convert Decimal to Binary, there is no error in the code but while executing I am getting blank, not showing anything. Could someone help me figure out where is the mistake
Code:
def decimalToBinary(ip_val): |
As a start, line 2:
Code:
if ip_val= 1: Code:
if ip_val >= 1: |
All times are GMT -4. The time now is 13:39. |