Python如何输出1-100间的奇数?#Python2022-04-19 21:53分类:Python 0 条评论 请先 登录 后评论 默认排序 时间排序 1 个回答|218 次阅读 2022-04-19 21:53 Coco老师 - 官方公众号:青少儿编程学习网 擅长:编程教育 • 网站:https://kidscodes.cn/#!/usr/bin/env python# -*- coding:utf-8 -*-#定义初始值start=1while True: if start==100: break #%运算是取余数 if start%2 ==1: print(start) start +=1 请先 登录 后评论