Question: # Complete the following program num_in_tens = int(input('Enter the tens digit: ')) num_in_ones = int(input('Enter the ones digit: ')) num_in = num_in_tens*10 + num_in_ones print('You

# Complete the following program

num_in_tens = int(input('Enter the tens digit: ')) num_in_ones = int(input('Enter the ones digit: '))

num_in = num_in_tens*10 + num_in_ones

print('You entered', num_in) print(num_in, '* 11 is', num_in*11)

num_out_hundreds = num_in_tens + ((num_in_tens + num_in_ones) // 10) #num_out_tens = ? FINISH #num_out_ones = ? FINISH

print('An easy mental way to find the answer is:') print(num_in_tens, ',', num_in_tens, '+', num_in_ones, ',', num_in_ones)

#Build num_out from its digits: #num_out = ? + ? + ? FINISH

# Note this line will generate an error until the above program is complete. print(num_out)

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!