惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

小众软件
小众软件
V
Visual Studio Blog
博客园 - 三生石上(FineUI控件)
Last Week in AI
Last Week in AI
Blog — PlanetScale
Blog — PlanetScale
爱范儿
爱范儿
J
Java Code Geeks
A
About on SuperTechFans
F
Fortinet All Blogs
B
Blog
aimingoo的专栏
aimingoo的专栏
H
Hackread – Cybersecurity News, Data Breaches, AI and More
Engineering at Meta
Engineering at Meta
Y
Y Combinator Blog
有赞技术团队
有赞技术团队
G
Google Developers Blog
Apple Machine Learning Research
Apple Machine Learning Research
V
V2EX
博客园_首页
博客园 - 叶小钗
罗磊的独立博客
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
D
Docker
云风的 BLOG
云风的 BLOG

噜啦 - 序列

序列 元组的基本操作 - 噜啦 序列 元组的基本操作 - 噜啦 序列 列表的基本操作 - 噜啦 序列 列表的基本操作 - 噜啦 序列 字符串基本操作 - 噜啦 序列 字符串基本操作 - 噜啦 序列 字符串 - 噜啦
序列 字符串 - 噜啦
博主: 噜啦 · 2019-09-06 · via 噜啦 - 序列

序列 字符串

  1. 首页
  2. 正文  

题目

    # 练习一 字符串
    
    # 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 日

© 允许规范转载

赞赏作者

  • 支付宝
  • 微信

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

序列 字符串

 •