Ask coding questions

← Back to all posts
Append function Not working - List returning empty
MichaelFaulkner (8)

https://repl.it/@MichaelFaulkner/Encryption I can't seem to figure this ou and I know I asked for help on this already but for some reason the decode function doesn't work. It just returns empty. Please help

Answered by malvoliothegood (91) [earned 5 cycles]
View Answer
Commentshotnewtop
malvoliothegood (91)

Your program seems to be working for me. You can simplify it by using a dictionary to store the encoding. This is how I would do it: https://repl.it/@malvoliothegood/Encryption-using-a-dictionary

MichaelFaulkner (8)

@malvoliothegood thank you! I actually figured out what was wrong and fixed it, I forgot to take down this post though. I haven't learned about using dictionaries yet but I'll give it a try! Thanks a lot