Skip to main content
← CoursesPython for Office WorkersModule 1 · Excel & CSVopenpyxl — read an .xlsx filepredict3 / 50
💬 Discuss🧪 Playground+100 XP
Task
Given this sheet (rows shown below as Python dicts for clarity): A1='Item', B1='Qty' A2='Pen', B2=3 A3='Cup', B3=7 What does this print? for row in sheet.iter_rows(min_row=2, values_only=True): print(row[0], row[1]) Type the exact output (two lines).

Keep going

🔮 Predict the output

Read the code carefully

What will the program print? Write here:

📣 Help someone learn PythonShare this lesson with a friend — the first 15 are free, no signup.Tweet

💬 Discussion

Be the first to ask a question or share a tip.
Sign in to join the discussion. Reading is free.
Loading discussion…