Write a program that checks whether an element occurs in a list. For example: Hint: use a for loop.
array = [4, 6, 7, 8, 10]
Which number would you like to find? 10"
What have you tried so far?
Please follow-up to let us know how you made out. For good karma, mark a reply as the answer if it helped!