在100和500之间 python语言如何表示两数之间

如题所述

第1个回答  2021-05-10
在python中,用来表示在100和500之间的是:a>100 and a<500;另也可通过内置range函数实现这一行为,语法是range(start,stop,step=1)。
相似回答