How to convert hrs and mins which are integers, into binary.?? | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
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 Réponse
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