Skip to content

Instantly share code, notes, and snippets.

@johnie
Created May 12, 2022 19:16
Show Gist options
  • Save johnie/c6c6cc76ca8ef40657fbab46eb0a413e to your computer and use it in GitHub Desktop.
Save johnie/c6c6cc76ca8ef40657fbab46eb0a413e to your computer and use it in GitHub Desktop.
nums = [10, 80, 1, 30, 9]
max_value = None
for n in nums:
if n > max_value: max_value = n
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment