Skip to content
Advertisement

Tag: continue

Continue in if conditional python loop is not working

Results are I was expecting that it would identify the first pattern DS in the first string in list a, then move to next element. However, it proceed to identify DY as well. What am I doing incorrectly? Any help is appreciated. Thanks Answer Try to replace continue with break like this Output: сontinue actually means that you go to

Advertisement