Skip to content

Commit 4109f40

Browse files
committed
2 parents 888ae64 + cd74ca3 commit 4109f40

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
This repo consists code of all the programs discussed at http://programminginpython.com/
33

44
## List of all the programs
5-
<ul ><li><a href="http://programminginpython.com/python-program-check-palindrome/">Python program to check whether a number is Palindrome or not</a></li><li ><a href="http://programminginpython.com/python-program-to-find-reverse-of-a-number/">Python program to find reverse of a number</a></li><li ><a href="http://programminginpython.com/find-reverse-number-slice/">Python program to find reverse of a number using slice</a></li><li ><a href="http://programminginpython.com/python-program-find-average-n-numbers/">Python program to find average of N numbers</a></li><li ><a href="http://programminginpython.com/python-program-to-find-whether-a-number-is-even-or-odd/">Python Program to find whether an integer is even or odd number</a></li><li ><a href="http://programminginpython.com/python-program-arithmetic-operations/">Python program for performing Arithmetic Operations</a></li><li ><a href="http://programminginpython.com/python-lists-add-append-modify-remove-slice/">Python Lists – Add, Append, Modify, Remove, Slice</a></li></ul>
5+
<ul><li><a href="http://programminginpython.com/python-program-largest-smallest-number-list/">Python program to find the largest and smallest number in a list</a></li><li><a href="http://programminginpython.com/biggest-smallest-3-numbers/">Python Program to find the Biggest and Smallest of 3 numbers</a></li><li><a href="http://programminginpython.com/python-check-armstrong-number/">Python Program to check Armstrong number or not</a></li><li><a href="http://programminginpython.com/python-program-check-palindrome/">Python program to check whether a number is Palindrome or not</a></li><li><a href="http://programminginpython.com/python-program-to-find-reverse-of-a-number/">Python program to find reverse of a number</a></li><li><a href="http://programminginpython.com/find-reverse-number-slice/">Python program to find reverse of a number using slice</a></li><li><a href="http://programminginpython.com/python-program-find-average-n-numbers/">Python program to find average of N numbers</a></li><li><a href="http://programminginpython.com/python-program-to-find-whether-a-number-is-even-or-odd/">Python Program to find whether an integer is even or odd number</a></li><li><a href="http://programminginpython.com/python-program-arithmetic-operations/">Python program for performing Arithmetic Operations</a></li><li><a href="http://programminginpython.com/python-lists-add-append-modify-remove-slice/">Python Lists – Add, Append, Modify, Remove, Slice</a></li></ul>

largest_smallest_list.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
lst = []
2+
num = int(input('How many numbers: '))
3+
4+
for n in range(num):
5+
numbers = int(input('Enter number '))
6+
lst.append(numbers)
7+
8+
print("Maximum element in the list is :", max(lst), "\nMinimum element in the list is :", min(lst))

0 commit comments

Comments
 (0)