-
-
Save IndhumathyChelliah/c320d5597803439113a999880c74887d 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
t1=('red','blue','green') | |
t1_sort=sorted(t1) | |
print (t1_sort)#Output:['blue', 'green', 'red'] | |
t2=(1,3,5,7,2,4,6) | |
t2_sort=sorted(t2) | |
print (t2_sort)#Output:[1, 2, 3, 4, 5, 6, 7] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment