# 使用while循环实现输出1,2,3,4,5,7,8,9,11,12number = 1while number <= 12: if number == 6 or number == 10: pass else: print("%s" % number) number += 1