{"id":655910,"student_id":10,"content":"vowel = ['a', 'e', 'i', 'o', 'u']\n\ns = input()\n\ncount = 0\n\n# 1. 會把輸入句子一個字一個字取出暫存在 i 然後印出\nprint('實驗ㄧ')\nfor i in s:\n print(i) #去主控台看看\n \n# 2. 會把五個母音一個字一個字取出暫存在 j 然後印出\nprint('實驗二')\nfor j in vowel:\n print(i) #去主控台看看\n \n\n# 3. 組合起來兩層迴圈進行比對 \nprint('實驗三')\nfor i in s:\n for j in vowel:\n print('比對', i, j)\n\n\n \ncount = 0\nfor i in s:\n for j in vowel:\n if i == j:\n count = count + 1\n \nprint('Total', count)","created_at":"2023-12-07T14:03:13.744+08:00","updated_at":"2023-12-07T14:09:46.058+08:00","name":"有多少個母音字母","language":"python","screenshot":{"url":"https://cdn2.koding.school/uploads/project/screenshot/655910/1a8751143ccad470d05353353d0c5c28.jpg"},"parent_id":4,"plugin":"","description":null,"note":null,"status":"public","like_student_ids":[],"is_featured":false,"views":75,"hashid":"6rpsq34e4","is_content_changed":false,"review_status":"unsubmitted","submitted_at":null,"reviewed_at":null,"advise":null,"is_deleted":false}
[{"id":14717438,"file_name":"cloud.png","project_id":655910,"asset_id":302343,"created_at":"2023-12-07T14:03:13.752+08:00","updated_at":"2023-12-07T14:03:13.752+08:00"},{"id":14717439,"file_name":"bg.jpg","project_id":655910,"asset_id":302344,"created_at":"2023-12-07T14:03:13.755+08:00","updated_at":"2023-12-07T14:03:13.755+08:00"},{"id":14717440,"file_name":"calm.mp3","project_id":655910,"asset_id":302345,"created_at":"2023-12-07T14:03:13.757+08:00","updated_at":"2023-12-07T14:03:13.757+08:00"},{"id":14717441,"file_name":"koding.png","project_id":655910,"asset_id":302346,"created_at":"2023-12-07T14:03:13.758+08:00","updated_at":"2023-12-07T14:03:13.758+08:00"}]
橘蘋學習平台
橘蘋學習平台
我的作品
檢視專案頁
匯出
複製
匯入
刪除
截圖
幫助
用手機掃描下方 QRCode 進行安裝
或您也可以
下載 APK
到這台電腦