37. Python Program to Convert Lowercase letter into Uppercase letter.
How does this program work?
- In this program you are going to learn about how to convert uppercase letter of a given lowercase using Python.
- In this program we are using String functions.
- By using String functions we can easily convert lowercase to uppercase and viceversa.
Here is the code
ch = input("Please Enter a lowercase Character : ")
if ch.islower():
print ("Uppercase Character : ",ch.upper () )
else:
print("Entered character is not in lowercase")