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