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())
let get_number = +prompt("enter the number")
if(isNaN(get_number)){alert("enter number")
}else{
console.log(get_number * get_number)
}
ma=float(input("ma:")) z=(ma**(1/2)) print(z)
i=int(input('masahate moraba ra vared konid:')) print(i**0.5)
Submitting answers is currently unavailable.
Scissors Paper Play: 1- The user chooses one between paper or scissors. 2- Select the system by random. 3- With the choice of user and system, the result is displayed and the user's rating is calculated 4- ... ...
Write a program that receives a number and prints the following figure according to the number received: Number: 55555 4444 333 2 2 1
Write a program that prints each student's name according to the list below, and as much as his / her name, the star of his name prints the question. Try to use the nested rings Amir 5hooshang 7rez ...
Write a program that receives a number from the user and converts to letters suppose the numbers entered between 0 and 1000000 23 ➞ Twenty Three 405 ➞ Four HundredR
برای استفاده از این بخش باید وارد حساب کاربریت بشی
ورود/ثبت نام 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.