Question: Complete the python code to take two integers as the user input and print their average 1 number1=int (input (2)) 2 number2=int (input (2))
Complete the python code to take two integers as the user input and print their average 1 number1=int (input (2)) 2 number2=int (input (2)) 3 avg = (number1 + number2) / 2 4 print 'The average of numbers = %0.2f % avg) Output 22The average of numbers = 2.00
Step by Step Solution
3.41 Rating (157 Votes )
There are 3 Steps involved in it
number1 intinputEnter the first number number2 in... View full answer
Get step-by-step solutions from verified subject matter experts
