QUESTION IMAGE
Question
jump to level 1
write four int(input()) statements to read four integers from input into variables side1, side2, side3, and side4, respectively.
then, write one print() statement to output the sum of the four integers.
Step1: Read first integer
side1 = int(input())
Step2: Read second integer
side2 = int(input())
Step3: Read third integer
side3 = int(input())
Step4: Read fourth integer
side4 = int(input())
Step5: Calculate & print sum
print(side1 + side2 + side3 + side4)Snap & solve any problem in the app
Get step-by-step solutions on Sovi AI
Photo-based solutions with guided steps
Explore more problems and detailed explanations
side1 = int(input())
side2 = int(input())
side3 = int(input())
side4 = int(input())
print(side1 + side2 + side3 + side4)