2019-06-12_Python的pass语句

# coding:utf-8

# 命令1
# 输出 Python 的每个字母
# for letter in 'Python':
# if letter == 'h':
# pass
# print '这是 pass 块'
# print '当前字母 :', letter
#
# print "Good bye!"

# 命令2
# for letter in '123456789':
# # if letter == '3':
# # pass
# # print '这是pass块'
# print '当前字母:',letter
# print "Good bye!"
#

posted @ 2019-06-12 09:15  舞步林云  阅读(191)  评论(0编辑  收藏  举报