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

Popular posts from this blog

paypal - How to know the URL referrer in PHP? -

oauth - Facebook OAuth2 Logout does not remove fb_ cookie -

wpf - Line breaks and indenting for the XAML of a saved FlowDocument? -