0
2.4kviews
Write a python program to find the largest element in the list.
1 Answer
0
214views

Explanation:-

  • Create a variable n which stores the no of elements user wants to add to the list.
  • Iterate for loop n times and take the elements entered from the user and append them to a list l & pass on this list l to function max.
  • Initially first element …

Create a free account to keep reading this post.

and 2 others joined a min ago.

Please log in to add an answer.