- Use python language to write a program for the following statement.
Request an input price for one item. Next, the quantity of such items should also be entered. Calculate the total price of the items using the formula: (price * quantity – total). If the total price exceeds RM 200, a rebate of 25% will be offered, but no deduction is granted if otherwise.
- Use Python language to write a program that will print a list of numbers using loops and the average value. The program will read any value of numbers entered. These numbers will be then used for calculating the average.
- Pak Ali, a durian seller wants to use a computer in his selling. He is using the scale in pounds, but the selling is done in kg. Use a python language to write a program to help him change each weight of durian from pound to kg. (1kg = 2.205 pound @ 1 pound = 0.404kg).
- Use python language to write a program to calculate the total income of a salesperson if the commission is given based on Table.