What is the output of the following program?
s = 'geeks'
a, b, c, d, e = s
b = c = '*'
s = (a, b, c, d, e)
print(s)
(‘g’, ‘*’, ‘*’, ‘k’, ‘s’)
(‘g’, ‘e’, ‘e’, ‘k’, ‘s’)
(‘geeks’, ‘*’, ‘*’)
KeyError
This question is part of this quiz :
Python Tuples Quiz