I've got a bit of a complicated question (for my limited Python knowledge) around iterating through and checking an array for any missing values.
I have an array of key strings and I need to check the array contains all substrings in another array. If it doesn't, I need to output which are missing.
array1 = ['key/value/one123904', 'key/value/two342389', 'key/value/three234093'] array2 = ['one', 'two', 'three', 'four']
My ideal output would be to say all elements of
array2 exist in
array1 if they do, or else in the example above, to output
No key for value: four