摘要: num = [num for num in range(100) if num %2!=0]#只能获取为True的值 print(num)#获取100以内所有奇数 阅读全文
posted @ 2017-12-07 09:27 蓝夏Jmy 阅读(81) 评论(0) 推荐(0) 编辑