NotOKlist = ('U19','U20','U17','U21') if any(s in echipa1 for s in NotOKlist): print ("Echipele nu sunt bune")
Ho to check if string contains substring from list
Ho to check if string contains substring from list
|
|
Messages In This Thread |
Ho to check if string contains substring from list - by Rius2 - Sep-30-2017, 07:10 PM
RE: Ho to check if string contains substring from list - by buran - Sep-30-2017, 07:23 PM
RE: Ho to check if string contains substring from list - by Rius2 - Sep-30-2017, 07:32 PM
|
Users browsing this thread: 1 Guest(s)