I want to search for two sets of strings in a string in an if statement but I'm not sure how to do that. As of now this is what I've typed:
description0=(driver.find_element_by_id('vjs-content').text)
for mark in markerfile:
if mark in description0.split():
Basically I want to search for mark and mark.swapcase() in description0.split() without adding another for loop.
Aucun commentaire:
Enregistrer un commentaire