Convert all characters to Uppercase in a string.

In this program, we will take a string as input and convert all characters to Uppercase in a string

Steps to solve the program
  1. Take a string as input.
  2. Convert all characters of the given string to Uppercase using Upper().
  3. Print the output.

Output :

exchange the first and last letters of the string

remove a new line from a string in a python.

Leave a Comment