Skip to content

Instantly share code, notes, and snippets.

@IndhumathyChelliah
Created July 16, 2020 00:27
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/5c8f52f12e3f2a5b43fc2858d4f6e92a to your computer and use it in GitHub Desktop.
Save IndhumathyChelliah/5c8f52f12e3f2a5b43fc2858d4f6e92a to your computer and use it in GitHub Desktop.
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