''' Purpose: consider string casing functions ''' text = input( "Enter text: " ) print() print( "text:", text ) print() # You can call multiple functions on a string but # keep in mind what order you do. # text.lower().split() vs. text.split().lower() are different # produce case variants of input text text_c = text.capitalize() text_l = text.lower() text_u = text.upper() print( "text.lower() =", text_l, " # all lower case" ) print( "text.upper() =", text_u, " # all upper case" ) print( "text.capitalize() =", text_c, " # initial character capitalized, rest lower case" ) print()