tuple push

Solutions on MaxInterview for tuple push by the best coders in the world

showing results for - "tuple push"
Sebastian
06 Jul 2018
1a = ('Product', '500.00', '1200.00')
2a = list(a)
3a.insert(3, 'foobar')
4a = tuple(a)
5print a
6
7>> ('Product', '500.00', '1200.00', 'foobar')