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}")
from math import pi radius = float(input('Enter Radius:')) print(f'area: {(radius * radius * pi): .2f} - circumference: {(radius * 2 * pi): .2f}')
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}")
radius = float(input("please enter the radius.")) circumference = radius * 2 * 3.14159265 area = radius ** 2 * 3.14159265 print(f"circumference is mostly {circumference} and area is mostly {area} .")
shoa =flout (input("shoa: ")) print (shoa*shoa*3•14) print (shoa*2*3•14)
Submitting answers is currently unavailable.
Write a program that gets 3 numbers and prints the most in the output
Write a function that receives 2 numbers as parameter (A and B) and get A to power B and return
Write a graphics program that has 2 fields to enter the number and 4 buttons for subtraction, multiplication and division. By selecting each button, the relevant calculations should be done on the 2 numbers entered and the result is displayed.
Write a program that translates the following words from Farsi to English and vice versa. The program must be implemented infinitely and it is possible to add new words easily words: Hello = hello goodbye = bye Kata ...
برای استفاده از این بخش باید وارد حساب کاربریت بشی
ورود/ثبت نام 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.