Send the following on WhatsApp
Continue to ChatWhat will be the output of the following Python program? def foo(x): x[0] = ['def'] x[1] = ['abc'] return id(x) q = ['abc', 'def'] print(id(q) == foo(q)) https://www.easterscience.com/faq/what-will-be-the-output-of-the-following-python-program-def-foox-x0-def-x1-abc-return-idx-q-abc-def-printidq-fooq/