0. ์์ฑ ๋ฐ ๊ธฐ๋ก import openpyxl openpyxl ๋ผ์ด๋ธ๋ฌ๋ฆฌ๋ฅผ ๋ถ๋ฌ์จ๋ค. wb = openpyxl.Workbook() sheet = wb.active sheet['A1'] = "Type" sheet['B1'] = "Name" sheet['C1'] = "Age" sheet['D1'] = "Fruit" ํ๋ฅผ ํ๋ ๋ง๋ค๊ณ , A1, B1, C1, D1์ ์์ฑ๊ฐ๋ค์ ๊ธฐ๋กํด์ค๋ค. TYPE = ['๋ํผ', '์ค๊ณ ์ฐจํ๋งค์', '์นดํ์ฌ์ฅ', ...] NAME = ['implanted_kid', '์ฐจ์ง์', '์ต์ค', ...] AGE = [26, 34, 32, ...] for i in range(2, 2002) sheet.cell(row=i, column=1).value = TYPE[i] sheet.cell..