1. input先輸出提示文字請輸入數字 x: 2. 等使用者輸入數字字串並按Enter. 送出後,input取得該數字字串內. 容. 3. int()函式將input取得的數字內容. 轉換為整數.
確定! 回上一頁