PythonRestored your last edit ·
Result
Running…
Expected output
['tea', 'coffee', 'juice'] ['tea', 'coffee', 'juice'] ['tea', 'coffee', 'juice', 'water']
Try it Yourself
['tea', 'coffee', 'juice'] ['tea', 'coffee', 'juice'] ['tea', 'coffee', 'juice', 'water']