Can somebody explain to me why in the following code I get 'your answer is None' please?
question='should save the notebook after edit?(T/F) :'
correct_ans=('t')
def tf_quiz(question,correct_ans):
if input(question)==correct_ans:
print('correct')
else:
print('incorrect')
quiz=tf_quiz(question,correct_ans)
print('your answer is',quiz)
output:
should save the notebook after edit?(T/F) :t
correct
your answer is None