write a code to encode and decode a string in python

write a code to encode and decode a string in python

More to explore

Based on this image's title: “write a code to encode and decode a string in python