Untitled

mail@pastecode.io avatar
unknown
plain_text
a year ago
263 B
3
Indexable
Never
import string

def separate_characters(my_string: str):

    first = my_string.ascii_lowercase
    second = my_string.punctuation

    return first and second

if __name__ == "__main__":
    separate_characters("Olé!!! Hey, are ümläüts wörking?")