Skip to content

Instantly share code, notes, and snippets.

@IndhumathyChelliah
Created July 16, 2020 03:06
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 IndhumathyChelliah/ad86d747f176956c03c354f1e7e01aae to your computer and use it in GitHub Desktop.
Save IndhumathyChelliah/ad86d747f176956c03c354f1e7e01aae to your computer and use it in GitHub Desktop.
t=('red','blue','green')
print (t[-1]) #Output: green
t=(1,2,3)
print (t[-3])#Output: 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment