文文上次說髒話被老師罰在黑板上寫 50 遍「I don't say swear words!」,結果他只寫了 45 遍就跑出去玩了,以為老師不會發現。這次老師要求他罰寫的每一遍都要加上編號。
輸入只有一行,其中含有一個正整數 n,代表文文被罰寫的次數。
輸出 n 行「I don't say swear words!」,每行前面要有流水編號。請參考範例輸出。
10
1. I don't say swear words! 2. I don't say swear words! 3. I don't say swear words! 4. I don't say swear words! 5. I don't say swear words! 6. I don't say swear words! 7. I don't say swear words! 8. I don't say swear words! 9. I don't say swear words! 10. I don't say swear words!
編號 | 身分 | 題目 | 主題 | 人氣 | 發表日期 |
34978 | jf5162287@gm ... (Reach the pinna...) | b970 | 646 | 2023-05-01 01:24 | |
26452 | nancy10133@g ... (Nancy Chang) | b970 | 1118 | 2021-08-07 16:19 | |
22160 | jayw711kb@gm ... (Jay Huang) | b970 | 1712 | 2020-08-13 16:32 |