Question: using python wer 01) The following numbers are given : 158 7412159823245642 Create a method called find rep that takes these numbers as a tuple
wer 01) The following numbers are given : 158 7412159823245642 Create a method called "find rep" that takes these numbers as a tuple argument, finds and displays the amount of repetitions for each member in the given set. The output of the program is as follows: [{1:3), (5:3), (8:2},7: 1), (4:3), (1: 3) (2:4), (1:3), (5:3), (9: 1), (8: 2), (2:4), (3:1), (2:4), (4:3), (5: 3), (6:1), (4:3). (2:4}] Hint:the output is a list with nested dictionary members
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
