Question: Write a function def letters (s) that gets the letters of string as a set. Ex: If the string is: Happy Birthday to you! the

Write a function def letters (s) that gets the letters of string as a set. Ex: If the string is: Happy Birthday to you! the set returned is: {i,h,p,a,B,t,H,d,y,u,r,0} Note that both upper- and lowercase letters appear in the set. Write the function only. Unit testing will be used to test the return value
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
