欢迎光临
一直在努力

笨办法学python-习题10:那是什么?

练习:

1
2
3
4
5
6
7
8
9
10
11
12
13
tabby_cat = "\tI'm tabbed in."
persian_cat = "I'm split\non a line."
backslash_cat = "I'm \\ a \\ cat."
fat_cat = """
I'll do a list:
\t* Cat food
\t* Fishies
\t* Catnip\n\t* Grass
"""
print tabby_cat
print persian_cat
print backslash_cat
print fat_cat
赞(0)
未经允许不得转载:在路上 » 笨办法学python-习题10:那是什么?

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址