打印30以内的奇数

current_num=0 while current_num<30: current_num+=1 if current_num%2==0: continue print(current_num)

打印30以内的偶数

current_num=0 while current_num<30: current_num+=1 if current_num%2!=0: continue print(current_num)