-
-
Save IndhumathyChelliah/ad86d747f176956c03c354f1e7e01aae to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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