+ 2
it's not working
https://code.sololearn.com/ciYu1mKhg3Pm/#py it writes: b'this had been...'
4 Antworten
+ 4
I must be late to the party. The linked program works fine. Congratulations on getting the bugs out!
+ 4
I take it you're trying to translate back from the binary read into the original text?
Have you compared the numbers you're getting to the integer representation of the characters? If those match, then you're almost done. Another line of approach is to look into the details of the text vs binary file access, there might be a subtlety in there that you need to account for.
+ 1
it's not working for me...
it writes: (b'this',)
https://code.sololearn.com/ciYu1mKhg3Pm/#py
+ 1
look on that:
https://code.sololearn.com/ciYu1mKhg3Pm/#py