How to convert hrs and mins which are integers, into binary.?? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to convert hrs and mins which are integers, into binary.??

eg., if hrs is 10 and mins is 56. I want the output as b'10:56'. how can this be done in python....???

6th Mar 2017, 7:32 AM
Mohit Khokhar
Mohit Khokhar - avatar
1 Answer
0
I want the binary stored into a variable... I want this to be returned from a function.
6th Mar 2017, 9:23 AM
Mohit Khokhar
Mohit Khokhar - avatar