Question: solve this question by using python Two friends, Dilara and Melisa, make a deal in order to motivate each other for final exams. They decided

solve this question by using python
solve this question by using python Two friends, Dilara and Melisa, make

Two friends, Dilara and Melisa, make a deal in order to motivate each other for final exams. They decided to study six hours each day for seven days. After the finals, they will take a vacation and expenses of the vacation will be paid by one of them who studies less than other. The following table shows who studies how many hours. If one study less than six hours, they call it negative day. If one study more than six hours, they call it positive day. For example, 1st day is a negative day for each other. They will calculate their scores using the following scores: - They will lose 1 point for every less 10 minutes than 6 hours. (For example; Dilara studied 5.7 hours the first day. Therefore she will lose (65.70)60/10=1.8 points) - They will lose 20 points for each negative day. - They will win 10 points for each positive day. Write a computer program to calculate the scores and determine the winner. For this purpose; Firstly, construct two one-dimensional lists for studied hours of both. Then convert them new two lists in minutes. (Determine difference from 6 hours for each day. For example, 5 hours 60 minutes) Define a function to calculate the scores of each student. Compare the scores and determine the winner

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!