daily pastebin goal
6%
SHARE
TWEET

Untitled

a guest Aug 12th, 2018 78 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #!/usr/bin/python
  2. #Asking for first and lastname
  3. fname = raw_input("Input your First Name : ")
  4. lname = raw_input("Input your Last Name : ")
  5. print ("Hello Good Luck " + fname + " " + lname)
  6. #creating questions and using if statement
  7. questions1 = raw_input("What is 1+1?")
  8. answer1 = ("2")
  9. if questions1 == answer1
  10.      print("correct answer")
  11. elif questions1 != answer1
  12.      print("incorrect answer")
  13. ~
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top