Creating a file

Report a typo

You need to create a new Excel file and write down the name of your new classmate. You have the code but, unfortunately, the lines are scrambled! Place them in the right order.

Put the items in the correct order
new_book.save("The_name_of_my_friend.xlsx")
from openpyxl import Workbook
new_sheet = new_book.active
new_book = Workbook()
new_sheet['A1'] = 'Giuliana'
___

Create a free account to access the full topic