Thursday, 4 February 2016

If



#In this script we are going to ask a closed question (three options of answer). The user with read the question and answer. Depending on the answer, the script will reply with a specific comment. 

print ('Do you believe in God?')
a = input ( )

if a == ('yes'):
    print ('You are a believer')
elif a == ('no'):
    print ('You are either an agnostic or an atheist')
else:
    print ('No wanna talk with me? Bye!')