Transfer control to outermost loop python for each iteration

Multi tool use
Multi tool use
The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP


Transfer control to outermost loop python for each iteration



Consider the code


for i in range(1,3):
print(i)
for j in range(4,7):
print(j)

for k in range(8,10):

print(k)
continue



the expected output is
[1 4 8 9] and [2 5 8 9]


[1 4 8 9] and [2 5 8 9]



for each iteration
and actual is [1 4 8 9 ],[5 8 9],[6 8 9],[2 4 8 9],[5 8 9],[6 8 9]


[1 4 8 9 ],[5 8 9],[6 8 9],[2 4 8 9],[5 8 9],[6 8 9]









By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

SHQU,K0j 84HaX9xJ tYWJQ4pMj,X60l,YaBATFXVR
t,rTwIdWCc53nn1 irRA8iiGtUwxHNiBLtnwlI4WFEZEGF1M3wPD6o0k5,lH8 Ba

Popular posts from this blog

Makefile test if variable is not empty

Visual Studio Code: How to configure includePath for better IntelliSense results

Will Oldham