152k views
3 votes
Any suggestions on how to write the following Python code?

1. Write a Python code to save the following list in a CSV file

ls = [“Hello”, “Hi”, “bye”]

2.Write a Python to read the CSV file generated in the previous step (1) to a Python list.

Help would be much appreciated.

User DaveBurns
by
5.2k points

1 Answer

4 votes

Answer:

Hi

Step-by-step explanation:

User Lonesomewhistle
by
5.2k points