セクション 6. 章 10
single
Challenge: Updating Logic of the Function
メニューを表示するにはスワイプしてください
タスク
スワイプしてコーディングを開始
Update the previous function to account for situations where the entered name isn't found in the dictionary.
- Within the function, implement an
if/elsestatement to verify if the name exists in the dictionary. - If the name isn't found, display the message
'There is no information about'followed by the value ofname. - If the name exists, continue with the steps from the previous challenge to show the individual's details.
解答
すべて明確でしたか?
フィードバックありがとうございます!
セクション 6. 章 10
single
AIに質問する
AIに質問する
何でも質問するか、提案された質問の1つを試してチャットを始めてください