in python please

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

in python please

Post by answerhappygod »

in python please
In Python Please 1
In Python Please 1 (33.2 KiB) Viewed 56 times
Complete the following function which converts a list to a set as exemplified by the tests at the end. # Purpose: Convert a given list L to a set. # For example, if L = (1,2,1), then ListaSet (L) returns (1,2). def List2Set (L): # Tests print (List2Set([1,2])) # print out (1,2) print (List2Set([1,2,1])) # print out (1,2)
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply