Created
March 21, 2021 06:46
-
-
Save codewithpom/8531081d5e7f1bd2fd3f16e7903c6d9a to your computer and use it in GitHub Desktop.
Makes acronyms(short form of phrasess) for phrases
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
phrase = input("Enter a phrase") | |
text = phrase.split() | |
a = "" | |
for i in text: | |
a = a + i[0] | |
print(a.upper()) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment