Skip to content

Instantly share code, notes, and snippets.

@IndhumathyChelliah
Created July 16, 2020 02:00
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/40dd7451f4a4c1f7f8a93bb64f342a41 to your computer and use it in GitHub Desktop.
Save IndhumathyChelliah/40dd7451f4a4c1f7f8a93bb64f342a41 to your computer and use it in GitHub Desktop.
t=('red','blue','green')
print (t) #Output: ('red', 'blue', 'green')
t1=(1,2,3)
print (t1) #Output:(1, 2, 3)
t2=('red','blue','green',1,2,3)
print (t2) #Output: ('red', 'blue', 'green', 1, 2, 3)
t3=('red','blue','green',[1,2,3])
print (t3) #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