+ 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)
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