num1 = float(input("Enter the first number: "))
num2 = float(input("Enter the second number: "))
operation = input("Which operation are you performing? (a/s/m/d) ")
if operation == "a":
print("{} + {} = {}".format(num1, num2, num1+num2))
elif operation == "s":
print("{} - {} = {}".format(num1, num2, num1-num2))
elif operation == "m":
print("{} * {} = {}".format(num1, num2, num1*num2))
elif operation == "d":
print("{} / {} = {}".format(num1, num2, num1/num2))
I hope this helps!
Answer:
D. a claim that more people drink a certain brand of cola that others
Explanation:
Basta yan yung sagot ko
The answer & explanation for this question is given in the attachment below.
Answer:
Explanation:
Let's do this in Python. We will loop through 4 times, each of the loop would compute the dividend, store it as string in a result variable and finally print the result on the same line:
def divide_4_times(user_num, x):
result = ''
for i in range(4):
user_num /= x
result += (' ' + str(user_num))
print(result)
Answer:
RainbowTables
Explanation:
RainbowTables is the best option when the cracker has limited time.