Answers for "code for a y/n question py"

2

ask a question on python

Question = input("your question")
if Question == ("yes")
	print ("well done")
elif Question == ("no")
	print ("try again")
Posted by: Guest on April-09-2020
0

how to code a yes or no question in python v3.8

if Question == ("yes")
	print ("well done")
elif Question == ("no")
	print ("try again")
Posted by: Guest on September-21-2020

Python Answers by Framework

Browse Popular Code Answers by Language