python: exit out of two loops -
for line in B: drug_input for drug: Brand names for brand [medicine]: < / Code>
How do I get out of the current loop and for the row in the next value of in the line:
?
To see if you have already worked, it uses a boolean :
wrong for x = for x = y: Y in y: if done bad, it is done = trott brakes can be: brake
Continue this any
if no breaks, if there is a break, then it will be left on else
, then this next break
Will see. This approach has the advantage of not using a variable, but it can be hard to read some. X for X: For Y in Y: If Bad: Breakage: Continue Break
Comments
Post a Comment