Question: I need help in Python 3: Given a list of integers, find the first maximum element in it. Print its value and its index (counting

I need help in Python 3:

Given a list of integers, find the first maximum element in it. Print its value and its index (counting with 0).

Example input

1 2 3 2 1

Example output

3 2

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!