Answer:
number1 = int(input("Enter the first number: "))
number2 = int(input("Enter the second number: "))
result = 0
for i in range(number1):
result += number2
print(str(result))
Explanation:
Ask the user for two numbers
Initialize result as 0 to hold the multiplication of the numbers
Create a for loop that iterates "number1" times. In each iteration, add number2 to the result.
When the loop is done, print the result
Don’t know what the answer is but do you, I have the test for that today
Answer:
The time complexity of the code is O(log₇n).
Explanation:
The i is updated by 7*i.On each iteration i is multiplied by 7.So on finding the time complexity of the code given above it will come out to be log base 7.
When we divide the input by 2 the time complexity is log base 2.
So on dividing it by 7 we get the time complexity of log base 7.
Answer:
Because it takes precision to a lot of things in tech and Eng. We need to measure all kinds of things, like wood, metal/etc. for computers and things that we use everyday, Because our world goes around being precise about things that we need everyday, like tables and things.
Explanation: