题目
# 练习一 字符串
# 1. 定义一个字符串Hello Python 并使用print( )输出
# 2. 定义第二个字符串Let‘s go并使用print( )输出
# 3. 定义第三个字符串"The Zen of Python" -- by Tim Peters 并使用print( )输出
答案
str1 = 'Hello World'
print(str1)
str2 = "Let's go"
print(str2)
str3 = '"The Zen of Python" --by Tim Peters'
print(str3)
运行

最后修改:2019 年 09 月 06 日
© 允许规范转载
赞赏作者
- 支付宝
- 微信


如果觉得我的文章对你有用,请随意赞赏






















