Which keyword starts a function in Python?, def, function, In this function header, what is answer? def check_answer(answer):, a loop, a parameter, Which line correctly calls this function? def show_message(message):, def show_message("Hello"), show_message("Hello"), What does a parameter do?, It lets a function receive a value, It always prints a list, Which function header is correct?, def check_answer(answer):, def check_answer answer:, Which line checks whether answer is equal to "B"?, if answer = "B":, if answer == "B":, What is wrong with this line? def check_answer(answer), It is missing a list, It is missing a colon, What will this function call print? check_answer("B") when "B" is the correct answer., Correct, Try again, Why is indentation important inside a function?, It shows which code belongs inside the function, It changes text into numbers, What is the main benefit of using a function?, You never need variables, You can reuse code
0%
Python Functions Quiz
共有
共有
Paullivesey
さんの投稿です
コンテンツの編集
セーブ
いいね!
印刷
埋め込み
もっと見る
割り当て
リーダーボード
もっと表示する
表示を少なくする
このリーダーボードは現在非公開です。公開するには
共有
をクリックしてください。
このリーダーボードは、リソースの所有者によって無効にされています。
このリーダーボードは、あなたのオプションがリソースオーナーと異なるため、無効になっています。
オプションを元に戻す
ボックスを開く
は自由形式のテンプレートです。リーダーボード用のスコアは生成されません。
現在、リーダーボード機能の改善に取り組んでいます。フィードバックをお寄せください。
フィードバックを提供する
ログインが必要です
表示スタイル
フォント
サブスクリプションが必要です
オプション
現在、アクティビティ設定の改善に取り組んでいます。ご意見をお寄せいただければ幸いです。
フィードバックを提供する
AI強化版:この活動にはAIによって生成されたコンテンツが含まれています。
詳細情報。
テンプレートを切り替える
すべてを表示
オープン結果
リンクをコピー
QRコード
削除
自動保存:
を復元しますか?