Inactive Tutor answered 06/24/21
Depending on the actual output it is either:
print(f'{num_1} ** {num_2} = {num_1 ** num_2}') -> "5 ** 4 = 625"
or
print(f'num_1 ** num_2 = {num_1 ** num_2}') -> "num_1 ** num_2 = 625"
Maggie D.
asked 06/24/21Assume these variable initializations:
num_1 = 5
num_2 = 4
Write a print statement that will produce this output.
num_1 ** num_2 = 625
Inactive Tutor answered 06/24/21
Depending on the actual output it is either:
print(f'{num_1} ** {num_2} = {num_1 ** num_2}') -> "5 ** 4 = 625"
or
print(f'num_1 ** num_2 = {num_1 ** num_2}') -> "num_1 ** num_2 = 625"
Get a free answer to a quick problem.
Most questions answered within 4 hours.
Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.
Maggie D.
Thank you for your time! Nothing worked so I just emailed the professor. :)06/24/21