Gives error of code unreachable in pycharm

Multi tool use
Multi tool use
The name of the pictureThe name of the pictureThe name of the pictureClash 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.

Iun F 5Gi7v7N wLcOo,kx8,SEEhjf
6c3SYN AmcHxXYD,8FLjg5FLeJ

Popular posts from this blog

Makefile test if variable is not empty

Visual Studio Code: How to configure includePath for better IntelliSense results

Will Oldham