Question: Write a function which accepts two sequences of numbers from the user, each number separated by a comma and generates a list of common
Write a function which accepts two sequences of numbers from the user, each number separated by a comma and generates a list of common numbers between the two sequences. The resulting list can be in any order Example Output Enter the first sequence: 1, 4, 2,7, 13,27 Enter the second sequence: 7, 13, 2, 25, 39 Common numbers: [7, 13, 2]
Step by Step Solution
There are 3 Steps involved in it
def findcommonnumbers Get user input for the first sequence sequence1 sequence inputEnter ... View full answer
Get step-by-step solutions from verified subject matter experts
