mardi 25 septembre 2018

Change list into normal string [Python3]

I have a list full of strings, like List = ["A","B","C"] And i wonder if i can somehow change that list into something used for an if statement. for example: if ("A" "B" "C") in "ABCDEFGHIJ": ...

If that is possible, i'd like to know. Thank you!

Aucun commentaire:

Enregistrer un commentaire