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

推荐订阅源

The GitHub Blog
The GitHub Blog
I
InfoQ
U
Unit 42
WordPress大学
WordPress大学
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
Apple Machine Learning Research
Apple Machine Learning Research
J
Java Code Geeks
月光博客
月光博客
D
Docker
Stack Overflow Blog
Stack Overflow Blog
D
DataBreaches.Net
阮一峰的网络日志
阮一峰的网络日志
Blog — PlanetScale
Blog — PlanetScale
V
Visual Studio Blog
博客园 - 聂微东
A
About on SuperTechFans
腾讯CDC
Jina AI
Jina AI
Microsoft Azure Blog
Microsoft Azure Blog
GbyAI
GbyAI
博客园 - 【当耐特】
罗磊的独立博客
博客园 - 三生石上(FineUI控件)
M
MIT News - Artificial intelligence

噜啦 - 序列

序列 元组的基本操作 - 噜啦 序列 元组的基本操作 - 噜啦 序列 列表的基本操作 - 噜啦 序列 列表的基本操作 - 噜啦 序列 字符串基本操作 - 噜啦 序列 字符串基本操作 - 噜啦 序列 字符串 - 噜啦
序列 字符串 - 噜啦
博主: 噜啦 · 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 日

© 允许规范转载

赞赏作者

  • 支付宝
  • 微信

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

序列 字符串

 •