Skip to content

Instantly share code, notes, and snippets.

@ImOmkar
Created August 18, 2018 17:31
Show Gist options
  • Save ImOmkar/c5fcde690fd5ff9f7bfa051f60dc1969 to your computer and use it in GitHub Desktop.
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.
#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