Question: PYTHON- For example you are NOT allowed to use set() , intersection() etc For taking the input lists you can use .split() to get the
PYTHON- For example you are NOT allowed to use set() , intersection() etc For taking the input lists you can use .split() to get the individual numbers.
Given two lists of numbers output the numbers which are in both lists. Note: You may assume no numbers are repeated within a single list
Sample output: Please enter a list of numbers: 1523 Please enter a second list of numbers: 561 The numbers in both lists are: 1 5
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
