Computer Science, asked by NobitaNobi1232, 1 month ago

Create a program to search for an element of user’s choice in a user accepted list of numbers in python.

Answers

Answered by sudhfvbg
0

Answer:

Let's see how to accept Python list as an input without using the split() method.

First, create an empty list.

Next, accept a list size from the user (i.e., the number of elements in a list)

Run loop till the size of a list using a for loop and range() function.

use the input() function to receive a number from a user.

Answered by LemonStudiez
1

Answer:

Hello there,

Please refer the attachment for the program. I have tested this program and it is going to work 100%.

Hope it helps.

Attachments:
Similar questions