PYTHON: Use Python sets to write a function named letter_set that takes one argument, a Python list of English words. Yo

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
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

Post by answerhappygod »

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']
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply