I’m stuck on Stage #eb4
I’ve tried writing my code,the screencast code i even tried the library but it says
this is my function
def decode_bencode(bencoded_value):
return bencodepy.decode(bencoded_value)
Here are my logs:
[tester::#EB4] Running tests for Stage #EB4 (Decode bencoded integers)
remote: [tester::#EB4] Running ./your_bittorrent.sh decode i1807678669e
remote: [your_program] b'i1807678669e'
remote: [your_program] 1807678669
remote: [your_program] Logs from your program will appear here!
remote: [tester::#EB4] Expected "1807678669\n" as stdout, got: "b'i1807678669e'\n1807678669\n"
remote: [tester::#EB4] Test failed
And when i locally run this it gracefully decodes
decode i1807678669e
Logs from your program will appear here!
b'i1807678669e'
1807678669