Gives error of code unreachable in pycharm
Clash Royale CLAN TAG#URR8PPP
Gives error of code unreachable in pycharm
the code gives unreachable error on line 8.I could not run it
def tf_quiz(sentence1,ans):
ans1=input(sentence1)
if ans1 == ans:
return "correct"
else:
return "incorrect"
#line8 quiz_eval = tf_quiz("Octopuses have green blood", "f")
print("Your answer is", quiz_eval)
By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.