There is a bug in my code but i cannot figure out why | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 5

There is a bug in my code but i cannot figure out why

this code is a binary converter but i don't think i defined the function properly https://code.sololearn.com/cc9iHNuxE94R/?ref=app

16th Jul 2018, 4:30 PM
Michael saviour
Michael saviour - avatar
6 Answers
+ 4
thank you very much this is helpful
16th Jul 2018, 4:39 PM
Michael saviour
Michael saviour - avatar
+ 4
yes
17th Jul 2018, 8:44 AM
Michael saviour
Michael saviour - avatar
16th Jul 2018, 4:37 PM
Satyam
+ 2
TIP: Avoid making thigs too complicated!
16th Jul 2018, 4:41 PM
Satyam
+ 1
wait Michael saviour. i just tested the code but i get a b within the binary result. Do you too?
17th Jul 2018, 8:42 AM
Satyam
17th Jul 2018, 8:50 AM
Satyam