def DecimalToBinary(num): if num = 1: DecimalToBinary(num // 2) print(num % 2, end = '') if __name__ == '__main__': dec_val = 24 DecimalToBinary(dec_val)
Not registered? Create an account
Forgot Password?
Already a registered user? Login