Here's a Base64 Encoder and Decoder I created.
(Base64? Can you eat that?)
Since it's easy to use, I haven't written any examples. But if you don't know how to use it, feel free to ask me.
If there are any problems with the code, please report them in the comments!
How did you manage to use the replit module? When I try it says that there is no replit module.
You forgot to add the "=" to the end, not sure how important that is, but python's base64.b64encode does it.
Never would've thought of using replit.clear() and a break. I personally use sys.exit(), but yours is a much cleaner and faster method. Take my updoot!