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!
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!