a. define a list. b.Ask the user to enter an integer n. You may assume the user will enter a valid input. c. Check how m

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

a. define a list. b.Ask the user to enter an integer n. You may assume the user will enter a valid input. c. Check how m

Post by answerhappygod »

a. define a list.
b.Ask the user to enter an integer n. You may assume the userwill enter a valid input.
c. Check how many times the integer occurs in L1.
i. Print the index of the first occurrence of ninL1 with asuitable message.
in python could someone help me figure out how to ask the userto input a number from the list, then print the first occurrence ofthe user input number.
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply