acronym.py
· 146 B · Python
Raw
```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)
```
| 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 | |
| 11 |