+ 1

Is it correct or not ?

a=int(input("enter the number")) b=int(input("enter the number")) sum=a+b print(sum) sum1=sum+(int(input("enter the number"))) print(sum1) sum2=sum1+(int(input("enter the number"))) print(sum2)

8th Sep 2017, 2:13 PM
GĂ«thu CĂ€rty
GĂ«thu CĂ€rty - avatar
1 RĂ©ponse
+ 4
Yes,although the brackets around int(input(...)) in line 5 and 7 arw redundant. But code playground has the limitation of limites inputs
8th Sep 2017, 2:38 PM
👑 Prometheus 🇾🇬
👑 Prometheus 🇾🇬 - avatar