Solved Write A Function Called Encode That Takes A String

Solved Write A Function Called Encode That Takes A String