加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Strings.py 599 Bytes
一键复制 编辑 原始数据 按行查看 历史
MALYA BANSAL 提交于 2020-10-03 19:23 . Create Strings.py
String1 = 'Welcome to Malya's World'
print("String with the use of Single Quotes: ")
print(String1)
# Creating a String
# with double Quotes
String1 = "I'm a TechGeek"
print("\nString with the use of Double Quotes: ")
print(String1)
# Creating a String
# with triple Quotes
String1 = '''I'm Malya and I live in a world of "TechGeeks"'''
print("\nString with the use of Triple Quotes: ")
print(String1)
# Creating String with triple
# Quotes allows multiple lines
String1 = '''Smile
For
Life'''
print("\nCreating a multiline String: ")
print(String1)
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化