asked 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.

1 Answer

4 votes

Answer:

Hi

Step-by-step explanation:

answered
User Lonesomewhistle
by
8.2k points