Created
August 18, 2018 17:31
-
-
Save ImOmkar/c5fcde690fd5ff9f7bfa051f60dc1969 to your computer and use it in GitHub Desktop.
WAP to take string as a input and check if the string is in uppercase or lowercase.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#WAP to take string as a input and check if the string is in uppercase or lowercase | |
user=input("Enter a string: \n") | |
if(user.isupper()): | |
print("Entered string is in uppercase") | |
elif(user.islower()): | |
print("Entered string is in lowercase") | |
else: | |
print("**NOW GET LOST**") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment