You can move one cell to the right by using the Tab key.
Answer:
In Python:
def print_volume (r):
volume = 4/3 * 3.142*r**3
print(volume)
print_volume(7)
print_volume(14)
print_volume(22)
Explanation:
This defines the function and takes radius r as the parameter
def print_volume (r):
This calculates the volume
volume = 4/3 * 3.142*r**3
This prints the volume
print(volume)
The next three lines call the function with different values
<em>print_volume(7)</em>
<em>print_volume(14)</em>
<em>print_volume(22)</em>
Answer:
Make main function
def main():
Make some constants for the grades
A = 5.0 or 4.0
B = 4.0 or 3.0
C = 3.0 or 2.0
D = 2.0 or 1.0
F = 1.0 or 0.0
In the main function call the function you made and make sure to use those constants for help
also don't forget to call your main function or nothing will work
Explanation:
Making the main function is good programming practice for your future
Making the constants is also helpful to your programming.
Now how it works you call the function you wrote to calculate the grade.
I don't know how helpful this was this is one of my first answers. I am `also answering how I would do it
Answer:
inspecting equipment, structures, or material
performing general physical activities
getting information
Explanation: i just did it soooo :]
Answer: The first one (3*6)+2/2 will equal 19.
Explanation: If you use the order of operation you would do 3*6 first then add that to 2/2. So it would be 18+1=19.