CodePudding user response:
A variable in a for loop with repeatedShould be like this:
Works=[" paper ", "book"]
The work=[" paper ", "note"]
For I in works: # you here I use the work, leading to the work list may not be able to use
If I work in:
Print (" yes, "+ I)
The else:
Print (" No - "+ I)
CodePudding user response:
Thank you, I can understand it, thank you very much,