"""第 01 章 環境與程式執行。"""

# ordered-output
# 顯示一份三行的作業摘要
print("處理紀錄")
print("讀取資料")
print("完成")

# record-line
print("批次", "A07", "已完成", sep=" | ")

# find-syntax-error
source = 'print("開始")\nprint("完成)'
try:
    compile(source, "example.py", "exec")
except SyntaxError as error:
    print(type(error).__name__, f"第 {error.lineno} 行")

# run-python-practice
# 練習 1：在這裡加入三行 print。
# 練習 2：將下方兩段文字組成一行。
batch = "B03"
status = "待確認"
print("請在此格完成兩題。")

# run-python-solutions
print("開始")
print("整理資料")
print("完成")
print("B03", "待確認", sep=" / ")
