Circle
Write a program that receives the radius of the circle and prints its area and environment
Circle area = radius * radius * Pi (3.14)
Circle environment = diameter (radius * 2) * Pi number (3.14)
Write a program that receives the radius of the circle and prints its area and environment
Circle area = radius * radius * Pi (3.14)
Circle environment = diameter (radius * 2) * Pi number (3.14)
let msg = 'error' alert(msg)This answer is only visible to premium members
This answer is only visible to premium members
let msg = 'error' alert(msg)This answer is only visible to premium members
This answer is only visible to premium members
let msg = 'error' alert(msg)This answer is only visible to premium members
This answer is only visible to premium members
R = eval(input("plesse inter R : ")) print(f"A : {R*R*3.14}") print(f"{2*R*3.14}")
1PI=3.14
2r=float(input ('r: '))
3p=(r *r*PI)
4s=(2*r*PI)
5print(p,'m^2',s,'m')
from math import pi radius = float(input('Enter Radius:')) print(f'area: {(radius * radius * pi): .2f} - circumference: {(radius * 2 * pi): .2f}')
r = float(input("shoa:"))
print ("masahat :", (r*r*3.14) )
print ("mohit :", (r*2*3.14))
pi = 3.14 # Get the circle radius of the user radius = float(input("لطفاً شعاع دایره را وارد کنید: ")) # Calculate the area of the circle area = radius * radius * pi # Calculate the circle environment circumference = (radius * 2) * pi # Circle printing print("مساحت دایره برابر است با:", area) print("محیط دایره برابر است با:", circumference)
P = 3.14 R = int(input("Enter Radius: ")) Q = int(input("Enter Qatar: ")) print("This is Radius", R*R*P) print("This is Qatar", Q*P)
radius=float(input("enter radius of the circle:")) diameter=radius*2 p=3.14 circumference=diameter*p area=(radius**2)*p print(f"circumference:{circumference},area:{area}")
Submitting answers is currently unavailable.
Write a program that receives the user's name, age and city and print on output
Write a function that receives a word and changes each letter to its next letter in the alphabet. Then returned the result. Indeed: "A" turns into "B" "" B "becomes" C "" C "becomes" D "and ........
Write a function that receives the bank card number as an entrance and places * for all its digits except the first and last digits and give some example as the example below: ("603711121119900") "60 ... 60 ...
Write a program that obtained a person's / BMI body / BMI formula and, according to the information below, shows the status of the person BMI = w / h * h formula = weight divided by second power BMI ...
Write a program that receives a student's lessons and the number of each unit (receiving the score and the number of units until the number is 0).
برای استفاده از این بخش باید وارد حساب کاربریت بشی
ورود/ثبت نام If you don’t understand the exercise or can’t solve it for any reason, that’s completely
normal—don’t worry 😊
Try checking out easier exercises and reviewing different answers
submitted by others. Gradually, you can move on to more challenging exercises. Also, your answer
might be correct even if it’s different from others.