+ 1
binary
hello can someone please explain to me how binary works, i made a text to binary and a binary to text converter code, but my friend says that its wrong. https://code.sololearn.com/cv8d0YYRH04s/?ref=app https://code.sololearn.com/c4Kk7uUsAYIH/?ref=app
1 Respuesta
+ 5
What you coded works fine for numbers between 0 and 255. Your friend may say it is wrong because most people wouldn't code it that way. However, what matters isn't what others say, but does it work for all tests. Your code is does so you are good.