Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
学ぶ Challenge: Create a Function 'exam_scores' with if-else Statement | What is a Function?
Python Functions: From Zero to Hero
セクション 1.  3
single

single

bookChallenge: Create a Function 'exam_scores' with if-else Statement

メニューを表示するにはスワイプしてください

タスク

スワイプしてコーディングを開始

You need to implement a function called exam_scores. This function has three variables that correspond to the results of three different exams, namely the english_exam = 90, mathematics_exam = 85, programming_exam = 100. Then the function records the total score in the variable total. Then the answer is checked, if the total number of points is more than 290, you will receive the following text Congratulations, your score is higher than the passing score!, otherwise you will get the following text: Unfortunately your score is lower than the pass.

解答

Switch to desktop実践的な練習のためにデスクトップに切り替える下記のオプションのいずれかを利用して、現在の場所から続行する
すべて明確でしたか?

どのように改善できますか?

フィードバックありがとうございます!

セクション 1.  3
single

single

AIに質問する

expand

AIに質問する

ChatGPT

何でも質問するか、提案された質問の1つを試してチャットを始めてください

some-alt