Answer:
Program :
def var_input():
#input function which takes the radius as input.
radius= float(input("Enter the radius of the sphere"))
#statemet to take the inputs.
volume(radius) /#call the volume function.
def volume(radius): #definition of volume function.
print("The volume of the sphere is :"+"{:.2f}".format((4/3)*(22/7)*radius*radius*radius)) # print the volume of the sphere.
var_input() # calling the input function.
Output:
- If the user inputs 4, then he will gets "268.19" as the output.
- If the user inputs 5, then he will gets "523.81" as the output.
Explanation:
- The above code is in python language, in which the first line is used to call the function.
- Then the first line of the input function is used to render the message to the user and take the inputs from the user and store it into the radius variable.
- Then the second line calls the volume function by passing the radius value.
- Then the volume function calculates the volume and prints it.
The best way to let someone know you are leaving on an excursion with a boat is: by filing a boat plan.
A boat plan is also referred to as a sail plan or float plan and it can be defined as a paper document that outlines a traveler's itinerary and other important information while on water.
Generally, a boat plan comprises the following important information about traveler and the trip:
- Safety equipment on board
- Date and time of departure
- Number of persons on board.
Ideally, it is a good idea to ensure that you inform a friend or family before taking your boat out for an excursion. Also, the best way to accomplish this is to file a boat plan.
Read more on here: brainly.com/question/10339634
Answer:
<h2>Hope this helps :</h2>
This is to prevent from anyone getting the password back from the hash.
have a nice day <3
Explanation: