Your question is Python String and List Tasks. Start with the requirements on the right.
Run and submit as often as you like. When you're ready, talk me through your approach or go straight to the code.
The Hp Iq QA automation pipeline receives a list of result identifiers and a diagnostic string. Implement a function that removes duplicate identifiers while preserving their first-seen order, then counts the vowels in the diagnostic string.
Return both results in a dictionary with keys unique_items and vowel_count.
Implement process_results(items, text).
items is a list containing integers or strings. Values are compared using normal Python equality.text is a string containing ASCII letters, spaces, digits, and punctuation.items must appear only once, at their first index.a, e, i, o, and u regardless of letter case. The letter y is not a vowel, and accented characters are outside the input domain.{"unique_items": list, "vowel_count": int}.a, e, i, o, and u are countedy is not considered a voweldef process_results(items, text):