Skip to content

Commit ab56863

Browse files
Application for detecting the largest and smallest number in the list
Application for detecting the largest and smallest number in the list
1 parent 336299e commit ab56863

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

App_4.py

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
my_number_list = [12, 64, 23, 98, 32, 5]
2+
3+
my_number_list.sort()
4+
5+
min_number = my_number_list[0]
6+
max_number = my_number_list[-1]
7+
8+
print(f"Max Number = {max_number}\nMin Number = {min_number}")

0 commit comments

Comments
 (0)