Skip to content

Instantly share code, notes, and snippets.

@ehedaoo
Created May 2, 2017 09:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ehedaoo/c70bc947a7d789176f88df3945e6136d to your computer and use it in GitHub Desktop.
Save ehedaoo/c70bc947a7d789176f88df3945e6136d to your computer and use it in GitHub Desktop.
Write a Python program to get the smallest number from a list.
# Write a Python program to get the smallest number from a list.
# a = [1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89]
a = [1, 1, 2, 3, 5, 8, 0, 13, 21, 34, 55, 89]
print(min(a))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment