Skip to content

natnew/Python-Projects-Acronym-Generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Python-Projects-Acronym-Generator 🐍

This repo contains python code that generates an acronym from a phrase.
Run the code.

Python

user_input = str(input("Enter a Phrase: "))
text = user_input.split()
a = " "
for i in text:
    a = a+str(i[0]).upper()
print(a)

Output

Enter a Phrase: hello world
 HW

About

Python Projects Acronym Generator

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages