1. # Inside, stop looking in here.
  2. # No, really, STOP. You'll ruin the fun of a (probably) broken calculator. D:
  3.  
  4. loop = 1
  5.  
  6. choice = 0
  7.  
  8. while loop == 1:
  9. print "So, I noticed you like calculators."
  10. print "----------------------------------------------------"
  11. print "What would you like to do?"
  12. print "1) Add"
  13. print "2) Subtract"
  14. print "3) Multiply"
  15. print "4) Divide"
  16. print "5) Quit (OH GOD, PLEASE, NO, DON'T DO IT! I'LL DIE!"
  17. print "----------------------------------------------------"
  18.  
  19. choice = input("Choose your option:")
  20. if choice == 1:
  21. add1 = input("Add")
  22. add2 = input("To")
  23. print add1, "+", add2, "=", add1 + add2
  24.  
  25. elif choice == 2:
  26. sub1 = input("Take")
  27. sub2 = input("Away from")
  28. print sub2, "-", sub1, "=", sub2 - sub1
  29.  
  30. elif choice == 3:
  31. multiply1 = input("Multiply")
  32. multiply2 = input("By")
  33. print multiply1, "*", multiply2, "=", multiply1 * multiply2
  34.  
  35. elif choice == 4:
  36. divide1 = input("Divide")
  37. divide2 = input("By")
  38. print divide1, "/", divide2, "=", divide1 / divide2
  39.  
  40. elif choice == 5:
  41. loop = 0
  42.  
  43. print "NOW GTFO MY CALCULATOR (Oh, and gimmeh your comment on IRC. :3"
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.