Python #7: How to convert user input to uppercase and/or lowercase

#Programmer: Akinwale Owi
#Company: Dagba Computers
#Program Purpose:Convert user input to uppercase and lowercase

#Start of Program

#prompting user for input
normalInput=input(‘please enter a string’)

#printing to test before conversion to uppercase
print(“User input before change = ” +normalInput)


#converting to upperCase
print(“All uppercase = ” + normalInput.upper())


#converting to lowercase
print(“All lowercase = ” + normalInput.lower())

#End of Program

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Blog at

Up ↑

%d bloggers like this: