Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- print ("The calculation below are my efforts to meet the challenge set in Section 1.15.")
- print ("I will take a rectangle. The sides are 20 cm and 30 cm.")
- input1=input("Number1>")
- input2=input("Number2>")
- input3=input("Number3>")
- input4=input("number4>")
- number1=int(input1)
- number2=int(input2)
- number3=int(input3)
- number4=int(input4)
- result=number1+number2+number3+number4
- output=str(result)
- print (input1+"+"+input2+"+"+input3+"+"+input4+"="+output)
- print ("The distance around the rectangle is 100 cms.")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement