Computers and Technology, 27.08.2021 15:50 kim95207
Given three floating-point numbers x, y, and z, output x to the power of z, x to the power of (y to the power of z), the absolute value of (x minus y), and the square root of (x to the power of z). Output each floating-point value with two digits after the decimal point, which can be achieved as follows:
print('%0.2f %0.2f %0.2f' % (your_value1, your_value2, your_value3))
Ex: If the input is:
5.0 6.5 3.2
Then the output is:
2.24 3.30 24.00
my code so far
import math
x = input(int)
y = input(int)
z = input(int)
your_value1 = math. sqrt((x))
your_value2 = abs((y-z))
your_value3 = math. factorial(math. ceil((z)))
print('%0.2f %0.2f %0.2f' % (your_value1, your_value2, your_value3))
returns the error code
Traceback (most recent call last):
File "main. py", line 6, in
your_value1 = math. sqrt((x))
TypeError: must be real number, not str
Answers: 3
Computers and Technology, 22.06.2019 22:30
The qwerty keyboard is the most common layout of keys on a keyboard
Answers: 3
Computers and Technology, 23.06.2019 04:20
4. a1. vince owns a television repair shop that is insured undera commercial package policy. the policy includes thebuilding and personal property coverage form and thecauses-of-loss broad form. the declarations page indicatesthat coverage applies to both the building and the namedinsured's business property. explain whether or not thefollowing losses would be covered under his policy.a. a fire occurs on the premises, and the building isbadly damaged.b. a burglar steals some money and securities from anunlocked safe.c. a business computer is damaged by vandals whobreak into the shop after business hours.d. a tornado touches down near the store. several tel-evision sets of customers in the shop for repair aredamaged in the storm.til
Answers: 2
Computers and Technology, 23.06.2019 06:20
Which text function capitalizes the first letter in a string of text? question 10 options: upper capital first proper
Answers: 1
Computers and Technology, 23.06.2019 18:30
Where can page numbers appear? check all that apply. in the header inside tables in the footer at the bottom of columns at the top of columns
Answers: 1
Given three floating-point numbers x, y, and z, output x to the power of z, x to the power of (y to...
Mathematics, 21.05.2021 22:50
Mathematics, 21.05.2021 22:50
Mathematics, 21.05.2021 22:50
History, 21.05.2021 22:50
History, 21.05.2021 22:50
Mathematics, 21.05.2021 22:50
Chemistry, 21.05.2021 22:50
Mathematics, 21.05.2021 23:00
Mathematics, 21.05.2021 23:00
Mathematics, 21.05.2021 23:00