EDWARD A. answered 02/03/23
Tutor
5.0
(218)
PhD Data Scientist: R, Tableau, Dashboards, Graphpad, Bioinformatics
list1 = [1, 2, [3, 4, "hello"]]
list1[2][2] = "goodbye"
print(list1)
Bryce H.
asked 02/03/23In python:
Reassign "hello" in this nested list to say "goodbye" instead:
EDWARD A. answered 02/03/23
PhD Data Scientist: R, Tableau, Dashboards, Graphpad, Bioinformatics
Get a free answer to a quick problem.
Most questions answered within 4 hours.
Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.