レッスン中ですが、行き詰まっています。私はPythonを初めて使用するので、どこが間違っているのかを理解するのは困難です。
#Write your two "if" statements below!
def true_function():
if #Fill in your `if` statement here!
return #Make sure this function returns `True`
def false_function():
if #Fill in your `if` statement here!
return #Make sure this function returns `False`
これは私の提案した解決策であり、エラーが発生します。
#Write your two "if" statements below!
def true_function():
if 2 + 2 == 4: #Fill in your `if` statement here!
return 'True' #Make sure this function returns `True`
def false_function():
if 2 + 2 == 5: #Fill in your `if` statement here!
return 'False' #Make sure this function returns `False`
誰かが私がどこで間違っているのかを理解するのを手伝ってもらえますか?