Question: CHALLENGE ACTIVITY 1 . 3 . 4 : Read user input numbers and perform a calculation. The following program reads in 2 numbers from input,

CHALLENGE ACTIVITY
1.3.4: Read user input numbers and perform a calculation.
The following program reads in 2 numbers from input, assigns them to num1 and num2 respectively, and then outputs the sum of those numbers. Copy the code provided to see how this code is executed in an autograded system.
num1= int(input())
num2= int(input())
print(num1+ num2)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!