Question: Create a different version of the program that: 1. Takes a 3digit number and generates a 6digit number with the 3digit number repeated, for example,

 Create a different version of the program that: 1. Takes a

Create a different version of the program that: 1. Takes a 3digit number and generates a 6digit number with the 3digit number repeated, for example, 391 becomes 391391 . The rule is to multiply the 3digit number by 7*11*13. 2. Takes a 5digit number and generates a 10digit number with the 5digit number repeated, for example, 49522 becomes 4952249522. The rule is to multiply the 5digit number by 11*9091. Times 11: A twodigit number can be easily multiplied by 11 in one's head simply by adding the digits and inserting that sum between the digits. For example, 43 * 11 has the resulting digits of 4, 4+3, and 3, yielding 473. It the sum between the digits is greater than 9, then the 1 is carried to the hundreds place. Complete the below program. zyDE 2.10.2: Number game. Load default # Complete the following program num_in_tens num_in_ones int(input('Enter the tens digit:\ ')) int(input('Enter the ones digit:\ ')) num_in = num_in_tens*1e + num_in_ones OOHOan-bWNlI print('You entered', num_in)

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 Mathematics Questions!