fork download
  1. identified_characters = {"a", "c", "f", "h", "l", "o"}
  2.  
  3. word = "alcachofa#"
  4. if any(character not in identified_characters for character in word):
  5. print("there are unidentified characters inside the word")
  6. else:
  7. print("there aren't unidentified characters inside the word")
Success #stdin #stdout 0.02s 9108KB
stdin
Standard input is empty
stdout
there are unidentified characters inside the word