Skip to content

Instantly share code, notes, and snippets.

@mepesh
Last active January 17, 2020 01:54
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 mepesh/046a80d02211f4bbdc25b8e105bb2e98 to your computer and use it in GitHub Desktop.
Save mepesh/046a80d02211f4bbdc25b8e105bb2e98 to your computer and use it in GitHub Desktop.
apple = ['apple','ball','cat','ball',25,26.5]
print(apple)
#index is used only for all data types
apple.index('ball')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment