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

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!