Created by nick-koberstein
Created on January 03, 2022
207 Bytes
def text_clean(text): LETTERS = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' text = text.upper() cleaned = '' for char in text: if char in LETTERS: cleaned += char return cleaned