csv documentation: https://docs.python.org/3/library/csv.html
random documentation: https://docs.python.org/3/library/random.html
list documentation: https://docs.python.org/3/tutorial/datastructures.html
here's a starter:
random documentation: https://docs.python.org/3/library/random.html
list documentation: https://docs.python.org/3/tutorial/datastructures.html
here's a starter:
import csv def read_csv_data(filename): try: buffer = None with open(filename) as csvfile: buffer = csv.reader(csvfile, delimiter=',') for row in buffer: print(row) except csv.Error: print(f'Error reading {filename}') if __name__ == '__main__': read_csv_data('CSV_Database_of_First_Names.csv')download the namefile from the url I gave you before.