String Uppercase in Python
Use the upper() method to transform a whole string into uppercase. regular_text = "This is a regular text." upper_case_text = regular_text.upper() print(regular_text) #This is a regular text. print(upper_case_text) #THIS IS A REGULAR TEXT. Notice that the original regular_text variable remains…