The size of the square side
Write a program that receives the square area from the user and prints the size of each side in the output
Write a program that receives the square area from the user and prints the size of each side in the output
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
# Receiving the area of square and printing its size print(int(input("masahat: ")) ** 0.5)
import math s = int(input("Enter the value of s please: ")) #x = s**0.5 توی این راه حل اگه کاربر بهمون عدد منفی هم بده باز برنامه ازش رادیکال میگیره که این یک اشتباه منطقیه x = math.sqrt(s) #print(x) # The function we used to get a radical return to us a lot. print(int(x))
import math msht_mb=float(input(":مساحت مربع مد نظر خود را وارد نمایید")) print(f":اندازه ضلع مربع{math.sqrt(msht_mb)}")
import math class Math: def __init__(self,masahat): self.masahat=masahat def Canculation(self): return math.sqrt(self.masahat) a=int(input("enter the masahat")) obj=Math(a) print(obj.Canculation())
ma=float(input("ma:")) z=(ma**(1/2)) print(z)
i=int(input('masahate moraba ra vared konid:')) print(i**0.5)
A=flout(input("...."?z.m)) Print(A*A)
Submitting answers is currently unavailable.
Write a program that receives a rectangular length and width from the input and prints its area in the output
Write a program that receives a text and a word from the user, search the word in the text, and as the example below and then put the word * and print the text in the output. Example: Input1: Hello. My name is hooshang. I ...
We have a list of different items along with their discount percentage and we want to know how much the final price of each product is after considering the discount. Write a program that gets the product price as below and the percentage of discount ...
Write a program that receives a one -digit number from the input and finds the coefficient of smaller than 100 of those numbers and prints in the output
برای استفاده از این بخش باید وارد حساب کاربریت بشی
ورود/ثبت نام 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.