Skip to content

drgbhuvaneswari/FindMaximum

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 

Repository files navigation

Find the maximum of a list of numbers

Aim:

To write a program to find the maximum of a list of numbers.

Equipment’s required:

  1. Hardware – PCs
  2. Anaconda – Python 3.7 Installation / Moodle-Code Runner

Algorithm:

  1. Get the list of marks as input
  2. Use the sort() function or max() function or use the for loop to find the maximum mark.
  3. Return the maximum value

Program:

i) # To find the maximum of marks using the list method sort.

ii) # To find the maximum marks using the list method max().

iii) # To find the maximum marks without using builtin functions.

Output:

Result:

Thus the program to find the maximum of given numbers from the list is written and verified using python programming.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published