码迷,mamicode.com
首页 > 编程语言 > 详细

Python

时间:2018-08-11 01:35:54      阅读:150      评论:0      收藏:0      [点我收藏+]

标签:this   waiting   注释   tin   不用   you   indent   racket   res   

 #   we use indentation rather than brackets to present domain
for place in places:
    print(place.title()+", this is the most beautiful place i hava seen")
    print("i am waiting for the the next time to see you:"+place.title()+".\n")

Python中表示域,不用括号,而是缩进!!!!

单行注释用#

Python

标签:this   waiting   注释   tin   不用   you   indent   racket   res   

原文地址:https://www.cnblogs.com/shaonianpi/p/9457788.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!