Page 1 of 1

This is one full question. Please write in Python.

Posted: Tue Apr 12, 2022 10:23 am
by answerhappygod
This is one full question. Please write in Python.
This Is One Full Question Please Write In Python 1
This Is One Full Question Please Write In Python 1 (281.86 KiB) Viewed 29 times
1. (4 points) Within a file named ciphers.py, write a function cleanup_text (original) that returns a "cleaned up” version of the original text. Specifically, the cleaned up version should capitalize all letters, and it should omit all non-letter characters outside of A-Z. If the original text contains no letters, the function should return the empty string. Do not call any built-in Python functions except upper() in your solution. Here are some example arguments for this function and their expected return values: C Argument 'EASY' still e as y' 'slotH' **..slotHs A.. Re n111cE!!!11!!!! '1234567890' Return Value 'EASY' 'STILLEASY' 'SLOTH' SLOTHSARENICE' C ( 1