import os
from time import sleep
while True:
print("\n\n========= Acronym Generator App =========\n\n")
user_input = input("Enter a phrase: ")
phrase = (user_input.replace('of', '')).split()
a = ""
for word in phrase:
a = a + word[0].upper()
print(f'Acronym of {user_input} is {a}')
check=input("\n\nTry again?\nPress 'Y' to continue or 'N' to exit: ")
if check.upper() == "Y":
sleep(1)
os.system('cls')
continue
print("Thank you!")
break
没有合适的资源?快使用搜索试试~ 我知道了~
Acronyms Generator App in Python with Source Code.zip
共1个文件
py:1个
0 下载量 44 浏览量
2023-11-03
16:35:58
上传
评论
收藏 696B ZIP 举报
温馨提示
Acronyms Generator App in Python with Source Code.zip
资源推荐
资源详情
资源评论
收起资源包目录
Acronyms Generator App in Python with Source Code.zip (1个子文件)
Acronyms Generator in Python
Acronyms Generator.py 524B
共 1 条
- 1
资源评论
xiaoshun007~
- 粉丝: 3854
- 资源: 3129
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功