Question: Write in python A group of students is raising money for an international charity. They airn to collect all together 10,000 US Dollars (USD). However,

Write in python

Write in python A group of students is raising money for an

international charity. They airn to collect all together 10,000 US Dollars (USD).

A group of students is raising money for an international charity. They airn to collect all together 10,000 US Dollars (USD). However, they are collecting the money in Omani Rials (OMR). An Omani Rail is converted into US Dollars using the following formula: US Dollars = 2.60 x Omani Rials Write a program named charity.py the helps these students figure out the amount remaining to reach their target. The program should do the following: a Ask the user to enter the number of students in the group. b. Ask the user to enter the target amount to collect (in USD) c Ask the user to enter the amount collected by each student in OMR). Your program should then: 1. Convert the OMR value into USD for each student 2. Display a table containing the amount collected by each student in USD): 3. Calculate the sum of USD amount collected by all students; and, 4. Calculate the difference between what is collected and the target amount Implement your program by utilizing Python loops and lists. The output of your program should look like the following: Implement your program by utilizing Python loops and lists. The output of your program should look like the following: Enter the number of students : 3 Enter target amount (in USD) ...: 10000 Enter amount collected by Studenti (in OMR): 300 Enter amount collected by Student2 (in OMR): 250 Enter amount collected by Student (in OMR): 500 Student Amount (USD) Student1 Student2 Student3 780.00 650.00 1300.00 You have collected 2730.00 (USD) for your charity. You have to collect 7270.00 (USD) to reach your target

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!