使用continue 在while循环不出现打印信息
请大神帮忙查看下错误在哪里?In [20]: while a<=50:
...: if a==3:
...: continue
...: print(a)
...:
...:
...:
...:
...:
...:
...:
...:
...:
^C---------------------------------------------------------------------------
KeyboardInterrupt Traceback (most recent call last)
<ipython-input-20-084ffdee89d1> in <module>
1 while a<=50:
----> 2 if a==3:
3 continue
4 print(a)
5