Computers and Technology, 14.01.2022 07:20 asseatingbandit
A two-digit 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. If the sum between the digits is greater than 9, then the 1 is carried to the hundreds place. Complete the below program.
# Complete the following program
num_in_tens = int(input('Enter the tens digit:\n'))
num_in_ones = int(input('Enter the ones digit:\n'))
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)
Answers: 3
Computers and Technology, 24.06.2019 00:00
For the following example of making a peanut butter and jelly sandwich, identify which are inputs, processes, or outputs: bread scooping and spreading peanut butter plate scooping and spreading jelly finished sandwich putting two pieces of covered bread together dirty plate crumbs
Answers: 2
Computers and Technology, 24.06.2019 10:00
1. which of these is not true about torsion bars? a. they can be used to adjust ride height b. they can be adjusted anytime since they don't affect alignment angles c. they attach between the frame and the lower control arm d. they twist to produce a spring effect
Answers: 1
Computers and Technology, 24.06.2019 22:30
The a great imaginary circle, or reference line, around earth that is equally distant from the two poles and divides earth into the northern and southern hemispheres.
Answers: 1
Computers and Technology, 25.06.2019 03:10
Write a program to convert a person's height in inches into centimetres #and their weight in stones into kilograms. (1 inch = 2.54 cm and 1 stone = 6.364 kg)
Answers: 1
A two-digit number can be easily multiplied by 11 in one's head simply by adding the digits and inse...
Health, 26.10.2019 05:43
Mathematics, 26.10.2019 06:43
Chemistry, 26.10.2019 06:43
History, 26.10.2019 06:43
History, 26.10.2019 06:43
World Languages, 26.10.2019 06:43
Mathematics, 26.10.2019 06:43
Mathematics, 26.10.2019 06:43