# Kodland-PH-33-Fri-19

May 29th, 2022
817
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
1. #Kodland PH-33-Fri-19
3. #Enter 2 number to be added in num1 and num2
4. num1 = 2
5. num2 = 3
6.
7. print("           ", num1)
8. print("          +", num2)
9. print("-----------------")
10. print("       Sum ", num1 + num2)
11. print("#################")
12. print("                 ")
13.
14. ############################################
15. #Subtraction
16. #put minuend in num1
17. #put subtrahend in num2
18. num1 = 20
19. num2 = 10
20.
21. print("           ", num1)
22. print("          -", num2)
23. print("-----------------")
24. print("Difference ", num1 - num2)
25. print("#################")
26. print("                 ")
27.
28. ############################################
29. #Multiplication
30. #put multiplicand in num1
31. #put multiplier in num2
32. num1 = 20
33. num2 = 10
34.
35. print("           ", num1)
36. print("          x", num2)
37. print("-----------------")
38. print("   Product ", num1 * num2)
39. print("#################")
40. print("                 ")
41.
42. ############################################
43. #Division
44. #put Dividend in num1
45. #put Divisor in num2
46. num1 = 20
47. num2 = 10
48.
49. print("           ", num1)
50. print("          ÷", num2)
51. print("-----------------")
52. print("  Qoutient ", num1 / num2)
53. print("#################")
54. print("                 ")
55.
56.
57.