Untitled

 avatar
unknown
plain_text
a year ago
318 B
5
Indexable
Write a program to unpack the following tuple into four variables and display each variable and 

count the occurrence of 20.

i/p: tuple1 = (10, 20, 30, 20)
o/p: tuple1 = (10, 20, 30, 40)
# Your code
print(a) # should print 10
print(b) # should print 20
print(c) # should print 30
print(d) # should print 20
Editor is loading...
Leave a Comment