Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
学ぶ Challenge: Annotate the Function | Annotations
Mastering Python: Annotations, Errors and Environment
セクション 1.  5
single

single

bookChallenge: Annotate the Function

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

タスク

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

You have the implemented is_prime() function. Annotate this function:

  1. The function should receive the integer type value.
  2. The function should return the boolean type value.
  3. The function should have a description:
    """This function checks integer number is prime and returns True or False."""

Once you've completed this task, click the button below the code to check your solution.

解答

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

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

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

セクション 1.  5
single

single

AIに質問する

expand

AIに質問する

ChatGPT

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

some-alt