問題 2 / 40
関数 - Python
約3分
次のコードの実行結果は何になりますか?
初級
関数
関数 - Python
以下のコードを実行したときの結果は何になりますか? ```python def message(): print("プログラミング") print("楽しいです") message() message() ```
約3分
次のコードでエラーが発生する理由は何ですか? ```python hello() def hello(): print("Hello!") ```
約3分
以下のコードの実行結果はどうなりますか? ```python def double_value(num): return num * 2 result1 = double_value(5) result2 = double_value(result1) print(result2) ```
約3分