kristofer a révisé ce gist . Aller à la révision
1 file changed, 0 insertions, 0 deletions
acronym.py renommé en acronympy.md
Fichier renommé sans modifications
kristofer a révisé ce gist . Aller à la révision
1 file changed, 10 insertions
acronym.py(fichier créé)
| @@ -0,0 +1,10 @@ | |||
| 1 | + | ||
| 2 | + | ```python | |
| 3 | + | user_input = str(input("Enter a Phrase: ")) | |
| 4 | + | text = user_input.split() | |
| 5 | + | a = " " | |
| 6 | + | for i in text: | |
| 7 | + | a = a+str(i[0]).upper() | |
| 8 | + | print(a) | |
| 9 | + | ``` | |
| 10 | + | ||