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

推荐订阅源

S
Secure Thoughts
Security Latest
Security Latest
Simon Willison's Weblog
Simon Willison's Weblog
O
OpenAI News
GbyAI
GbyAI
L
LINUX DO - 最新话题
A
Arctic Wolf
T
Tor Project blog
G
GRAHAM CLULEY
I
InfoQ
博客园_首页
IT之家
IT之家
The Register - Security
The Register - Security
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
P
Proofpoint News Feed
The GitHub Blog
The GitHub Blog
Blog — PlanetScale
Blog — PlanetScale
N
Netflix TechBlog - Medium
K
Kaspersky official blog
博客园 - 三生石上(FineUI控件)
S
SegmentFault 最新的问题
U
Unit 42
PCI Perspectives
PCI Perspectives
量子位
P
Palo Alto Networks Blog
S
Securelist
T
Troy Hunt's Blog
博客园 - 【当耐特】
Recorded Future
Recorded Future
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
S
Security Affairs
Engineering at Meta
Engineering at Meta
T
The Blog of Author Tim Ferriss
博客园 - 聂微东
罗磊的独立博客
N
News and Events Feed by Topic
人人都是产品经理
人人都是产品经理
B
Blog RSS Feed
NISL@THU
NISL@THU
C
Cisco Blogs
T
Threatpost
有赞技术团队
有赞技术团队
Forbes - Security
Forbes - Security
Hugging Face - Blog
Hugging Face - Blog
Last Week in AI
Last Week in AI
T
The Exploit Database - CXSecurity.com
Cloudbric
Cloudbric
Cyberwarzone
Cyberwarzone
Google DeepMind News
Google DeepMind News
C
Cyber Attacks, Cyber Crime and Cyber Security

噜啦 - 序列

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

© 允许规范转载

赞赏作者

  • 支付宝
  • 微信

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

序列 字符串

 •