Question: Create an algorithm in python to generate a sequence of binary. It should convert decimal fraction to binary Base 10 - Base 2 Decimal fraction
Create an algorithm in python to generate a sequence of binary.
It should convert decimal fraction to binary
Base 10 - Base 2
Decimal fraction should be in base 10
Binary sequence should be in base 2
use examples like this to test out the code
(0.171)base10 , inputting this should return a sequence of binary.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
