Question: unique word 'science' number is 10502 40 # # Question 2: # Modify the function such that it works according to the description below: #
unique word 'science' number is 10502
40 # # Question 2: # Modify the function such that it works according to the description below: # 41 42 43 44 45 46 # This function assumes list is a list and it contains tuples where each tuple # is a pair of integers (ints). For e.g. listX could be: [(1,2), (9,9), (5,1)]. # The function returns the count of tuples that has at least one number # in common with one of the digits of your 5 digit number # 47 48 49 50 # Jane's example: her digits are: 1,2,3,4, and 5 # 51 52 # So, for Jane: # question2([(17,12), (23,2), (15,1)]) # returns 2 # (because 2 pairs have at least one number in common with the digits) 53 54 # 55 56 57 58 # question2([(15,2), (14,3), (5,5)]) # returns 3 # (because all 3 pairs have numbers in common with the digits) def question2(list): return 0 59 60 61
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
