Skip to content

Instantly share code, notes, and snippets.

@codewithpom
Created March 21, 2021 06:46
Show Gist options
  • Save codewithpom/8531081d5e7f1bd2fd3f16e7903c6d9a to your computer and use it in GitHub Desktop.
Save codewithpom/8531081d5e7f1bd2fd3f16e7903c6d9a to your computer and use it in GitHub Desktop.
Makes acronyms(short form of phrasess) for phrases
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