PYTHON: Use Python sets to write a function named letter_set
that takes one argument, a Python list of English words. Your
function should return a list of all letters that are NOT used by
any of the words. Use only uppercase characters. Write a main
function that adequately tests letter_set .
For example letter_set['NOW', 'IS', 'THE', 'TIME'] should return
the list ['A', 'B', 'C', 'D', 'F', 'G', 'J', 'K', 'L', 'P', 'Q',
'R', 'U', 'V',' X', 'Y', 'Z']
PYTHON: Use Python sets to write a function named letter_set that takes one argument, a Python list of English words. Yo
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
PYTHON: Use Python sets to write a function named letter_set that takes one argument, a Python list of English words. Yo
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!