Question: https://myclass.ufv.ca/bbcswebdav/pid-1114410... https://myclass.ufv.ca/bbcswebdav/pid-108921... https://myclass 3. (6 points) What is the output? Explain your answer (Trace it) def something (str1, charset): str2 = for i in
https://myclass.ufv.ca/bbcswebdav/pid-1114410... https://myclass.ufv.ca/bbcswebdav/pid-108921... https://myclass 3. (6 points) What is the output? Explain your answer (Trace it) def something (str1, charset): str2 = for i in range (len (str1)) : if strl [i] in charset: 11 11 str2 = str2+""+ strl [i] str2 = str2 + strl [i] else: return str2 S1 = " (),.!?; :" Out = = something ("Q? me? yes, you!", S1) print out MacBook Pro
Step by Step Solution
3.44 Rating (157 Votes )
There are 3 Steps involved in it
Trace 6789GWNHO 1 2 4 5 10 11 12 13 14 15 strl i EU 4000 y e C... View full answer
Get step-by-step solutions from verified subject matter experts
