Advertisement
Guest User

كود سورس

a guest
Jan 13th, 2014
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.36 KB | None | 0 0
  1. import os
  2.  
  3. m = input("4556+578 ? :")
  4.  
  5. if m == 62.66 :
  6.  
  7.     print("yes")
  8.  
  9. else :
  10.  
  11.  print("NON")
  12.  
  13.    
  14. print("-----------------------------------")
  15.  
  16. Y = input("What is the capital of France :")
  17.  
  18. if Y == "paris" :
  19.    
  20.    print("yes Well done")
  21.  
  22. else :
  23.    
  24.    print("NON,sorry")
  25.    print("The correct answer is : paris")
  26.  
  27. os.system("pause")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement