Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
#ignoring value "green" while tuple unpacking
t=("red","green","blue")
t1,_,t2=t
print (t1)#Output:red
print (t2)#Output:blue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment