Calculate the area of the triangle
Write a program that receives the rule and height of the triangle and calculates its area
Triangle area = (rule * height) divided by 2
Write a program that receives the rule and height of the triangle and calculates its area
Triangle area = (rule * height) divided by 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
base =int(input("enter the base:")) height=int(input("enter the height:")) result=base*height result2=result/2 print(result2)
a = int(input("number1:")) y = int(input("number2:")) print((a * y) / 2)
ghaedeh = int(input("enetr your number:")) # A number of input for the rule ertefah = int(input("enter your number:")) # A number of entrances for height masahat = (ghaedeh * ertefah) / 2 # Triangle area print(f"masahat:{masahat}")
g=float(input('gaede:')) e=float(input('ertefa:')) print(int(g*e/2))
# Triangle area i=int(input("ghahede: ")) y=int(input("ertefah: ")) print((i*y)/2)
print("مساحت:",int(input("قاعده:"))*int(input("ارتفاع:"))/2)
h = float(input('hight: ')) b = float(input('base: ')) s = (b * h)/2 print(f'area of triangle is: {s}')
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 function that receives a string and returns the number of letters: To solve this question, you should not use ready-made functions for example: get_len ('code-bezan.ir') # 13
Write a function that receives a list (array) as a parameter, and deletes its duplicate items and returns the new (array) list
Create a link with the following specifications. The phrase link (click here) should be on the code-bezan.ir page Title the phrase (programming exercise) be open but open on the new page
Create a link with the following details by clicking the user link to be directly calling 090000000.
برای استفاده از این بخش باید وارد حساب کاربریت بشی
ورود/ثبت نام 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.