I have a single element list like below
listx=['Digital Operations']
My goal is to just check if the word 'Digital' is present in the list listx
I wrote the below code
if any('Digital') in listx:
  print("the word digital is present")
else:
  print("word Digital not found")
I am getting the output "word Digital not found" despite it being clearly there. What am i doing wrong?
 
     
     
    