Write python program to read a list of n numbers and to search on the list.(input and output)
Answers
Answered by
1
Answer:
Use a input() function to accept the list elements from a user in the format of a string separated by space. Next, Use a split() function to split a string by space and added those numbers to the list. Next, iterate a user list using for loop and range() function.
Similar questions