Cam someone answer one of these questions please and no scam, I'll make you a brainlist , just answer one of these questions
Answers
Answer:
Hope it helps you.
Explanation:
PI = 3.14
radius = float(input('Please Enter the Radius of a Sphere: '))
sa = 4 * PI * radius * radius
Volume = (4 / 3) * PI * radius * radius * radius
print("\n The Surface area of a Sphere = %.2f" %sa)
print("\n The Volume of a Sphere = %.2f" %Volume)
Answer:
Explanation:
1) PROGRAM:1
radius=float(input("Enter the value:")) #Accept user input
pie=3.14285714286 #Assign pie value
volume=(4.0/3.0)*pie*(radius*radius*radius) #To find volume
print("volume of the sphere="+str(volume)) #Print the volume
ALGORITHM:
Define the radius of the sphere
Define the pie Calculate the volume of the sphere using formula (4/3)*pie*r3Print the volume of the sphere.Volume= (4/3)*pie*r3
2)PROGRAM:2
Name=input("Enter the name:")
Height=float(input("Enter the height:"))
if Name=="jakson" and Height==5.9:
print("He is my friend")
else:
print("He is not my friend")
Explanation: Algorithm
Define the radius of the sphere
- Define the name and height
- Check the condition using if-else loop
- Print the output