Created
July 14, 2021 04:44
-
-
Save codewithpom/180b6e83a5433f2cce7ec70ba5ec911b to your computer and use it in GitHub Desktop.
This file contains hidden or 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
# declare a string variable | |
name = "Padmashree" | |
# print variable name in upper case | |
print(name.upper()) | |
# print the vriable in lower case | |
print(name.lower()) | |
# directly print a word in lower case | |
print("Hello World".lower()) | |
# directly print a word in upper case | |
print("Hello World".upper()) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment