Sep-18-2020, 12:06 PM
name = input("restaurant name is: ") address = input("restaurant address is: ") lonlat = input("coordinates are: ") new_row = list((name, address, lonlat)) table.append(new_row) print(table[-1]) with open("GermanRestaurants_v1.csv", mode="w") as handler: file_writer = csv.writer(handler) for row in table: file_writer.writerow(row)