Write Data Back to the Project
ครั้งก่อนเราอ่าน student.csv — รอบนี้ learner จะสร้าง Student App ที่รับข้อมูลด้วย input() และเขียน record ใหม่ด้วย open(...,'a')
PYTHON SOURCE
main.py
SIMULATED USER INPUT
Test Student App
Pyodide/browser LAB cannot pause like a terminal, so these values are supplied to your Python input() calls in sequence.
Input sequence:
1 → ID → Name → Email → Grade → 0. This simulates one “New Student” transaction and then Exit.PYTHON CONSOLE
Project ready. Complete main.py, then Run Student App.
INSTRUCTOR SOLUTION
Password protected · Instructor access only