The calculation of the trapezoidal area
Write a program that receives the rule and the height of the trapezoidal and calculates the trapezoidal area of the vertical.
Area = rule * height ÷ 2
Write a program that receives the rule and the height of the trapezoidal and calculates the trapezoidal area of the vertical.
Area = rule * height ÷ 2
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
ga=float(input("ga")) er=float(input("er")) print((ga*er)/2)
a = float(input("meghdar ghaede ra vared conid:")) b = float(input("meghdar ertefa ra vared conid:")) sum1 = a * b sum2 = sum1 / 2 print(sum2)
a = float(input("a: ")) # Our little rule b = float(input("b: ")) # Our great rule h = float(input("h: ")) # Our height print((a + b)*(h)%(2)) # The sum of the small and large multiplication of multiplication in height divided by two
def area(): """ محاسبه مساحت ذوزنقه """ Great = int(input("please enter the great :")) Height = int(input("please enter the height :")) res = (Great*Height)/2 return f"result : {res:.2f}" # Displaying output with two decimal digits print(area())
base =int(input("enter the base:")) height=int(input("enter the height:")) result=base*height result2=result/2 print(result2)
q=int(input("Enter qaede: ")) e=int(input("Enter ertefa: ")) masahat=e*q/2 print(masahat)
s=float(input('قاعده را وارد کنید: ')) h=float(input('ارتفاع را وارد کنید')) m=s*h/2 print('مساحت برابر است با: ',m)
Submitting answers is currently unavailable.
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 receives 2 numeric value from the input and stores in variables A and B. Then move the values of these two variables (the value of variable A is to be stored within B and the value of variable B is saved within a)
Write a function that receives a string and checks all the letters. If all the letters of the string were small, otherwise False would return
Write the absentee presentation program: The teacher enters the students' names in the classroom every day in a file with the name of that day in the name of that day and in the TXT format, the teacher can enter the date by entering the date ...
Write a program that gets the user's age from the input and calculates and prints the user's birthday
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 ...
Write a code that uploads a video with an address (test) on the page. There are video control buttons too
برای استفاده از این بخش باید وارد حساب کاربریت بشی
ورود/ثبت نام 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.