this is a python code:
QUESTION 3:
Imagine that the IRA is giving stimulus package in the COVID-19season. The package amount is determined by the number of adults inthe family and the total amount of salary the family gets.
Each adult will get 1200 dollars if the total salary is 100000or less.
Each adult will get 800 dollars if the total salary is 150000 orless.
Write a python program to ask the user the number of adults inthe family and total number of family salary and determine thetotal amount of stimulus package the IRA will provide for thatfamily.
QUESTION 4:
Write a program that will ask user length and width of a righttriangle and find the area of the right angled triangle. Theformula for finding the area of right angle triangle is
ab/2. Also find out the result if you calculate as (ab)/2. Is itthe same? If it is same, why it is the same. If it is not the same,why it is not the same.