i = 1
j = 1
while i <= 10:
    print('第%d个碗' % i)
    while j <= 10:
        if j == 5:
            break
        else:
            print('这是内循环的第%d个碗' % j)
        j += 1
    i += 1

  

相关文章:

  • 2021-10-31
  • 2022-12-23
  • 2022-12-23
  • 2021-12-25
  • 2022-12-23
  • 2021-11-14
  • 2021-12-10
  • 2021-12-10
猜你喜欢
  • 2021-06-06
  • 2021-08-26
  • 2021-12-02
  • 2022-12-23
  • 2022-12-23
  • 2021-11-23
  • 2021-12-25
相关资源
相似解决方案