Skip to content

Instantly share code, notes, and snippets.

@BurhanH
Created July 27, 2019 19:11
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 BurhanH/5116e28a659a955e176f8f9a18d312c2 to your computer and use it in GitHub Desktop.
Save BurhanH/5116e28a659a955e176f8f9a18d312c2 to your computer and use it in GitHub Desktop.
array = [1, 2, 5, 8]
def sum_array(int_array: list) -> None:
return print(sum(int_array))
if __name__ == '__main__':
sum_array(array)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment