WAP - 9 || Sort the list in #ascending order and print the first element in Python

preview_player
Показать описание
Sort the list in ascending order and print the first element in the list.

# list of numbers
list = [10, 20, 4, 45, 99]

# sorting the list
s=list[0]
# printing the first element
print("Smallest element is:", s)
Рекомендации по теме
Комментарии
Автор

sir mere sort function me error a rahi hai

mehulprajapati
visit shbcf.ru