About Lesson
upper():-
The upper() method returns a string where all characters are in upper case. Symbols and Numbers are ignored.
Syntax:- string.upper()
txt = “Hello my friends” x = txt.upper() print(x) Output HELLO MY FRIENDS |