Unpack the following tuple into 4 variables aTuple = (10, 20, 30, 40) in Python

 Expected output:

aTuple = (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 40
Code :
aTuple = (10, 20, 30, 40)

a,b,c,d=aTuple


print(a)
print(b)
print(c)
print(d)

Comments