Quick actions

cmd+k|ctrl+k

Navigation

Languages

if

Snippet info

Language

Python

Visibility

public

Author

natlyy0816

Created

2024-11-27T12:50:41.833436Z

Updated

2024-11-27T12:50:41.833436Z

#if need to run no.2 to no.5;delete the #
#x = 10
#while x > 0:
 #    print(x)
  #   x = x - 1
     
#x = 10
#while x > 0:
 #    x = x - 1
  #   if(x % 2):
   #      continue
    # print(x)
x = 10
y= 10
while y > 0:
    while x > 0:
        x = -1
        if (x==4):
            Break
        if(x % 2):
            Continue
        print (x,y)
    y = y-1
    if(y==7):
          Break
    # the break will break the neartest while lop
INFO