python小程序
来源:互联网 发布:电话短信轰炸机软件 编辑:程序博客网 时间:2024/05/18 03:20
摘要
实现这样一个程序,歌曲列表中有三首歌”Holy Diver,Thunderstruck,Rebel Rebel”,当播放到每首时分别显示对应的歌手名字”Dio,AC/DC,David Bowie”
songslist = ['Holy Diver','Thunderstrunk','Rebel Rebel']for song in songslist: if song == 'Holy Diver': print(song,'- Dio') elif song == 'Thunderstrunk': print(song,'- AC/DC') elif song == 'Rebel Rebel': print(song,' -David Bowie')
阅读全文
0 0
- python小程序
- python 小程序
- python小程序
- python 简单小程序
- python小程序集锦
- python爬虫小程序
- Python小程序
- python小程序
- python练习小程序
- Python入门小程序
- python 查询小程序
- [python] 小程序
- Python里小程序
- Python通讯录小程序
- Python小程序
- python界面小程序
- python小程序
- Python小程序
- Spark应用日志级别设置
- Heat架构
- ImageTag 修改标记数据
- IOS应用内跳转到系统设置
- JZOJ5437. 【NOIP2017提高A组集训10.31】Sequence
- python小程序
- abstract类对接口的影响
- BZOJ5071[Lydsy十月月赛] 小A的数字 解题报告
- WebDynpro中显示IGS服务动态生成的商业图表及集成图表到Adobe交互式表单
- Spring配置JNDI加密用户名密码
- android studio 配置
- 【leetcode】Median of Two Sorted Arrays
- .NET 程序集编程(五)
- json字符串转换为JSONObject和JSONArray