Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

non-cheaters classified as cheaters - part_07-14_who_cheated #67

Open
chungvuiloong opened this issue Aug 21, 2024 · 0 comments
Open

non-cheaters classified as cheaters - part_07-14_who_cheated #67

chungvuiloong opened this issue Aug 21, 2024 · 0 comments

Comments

@chungvuiloong
Copy link

In the mooc python programming 2024, part_07-14_who_cheated

There are issues with returning the list of cheaters. ['antti', 'arto', 'esko', 'henrik', 'johannes', 'justiina', 'jyrki', 'kjell', 'kotivalo', 'liisa', 'luukas', 'matti', 'teemu', 'tiina', 'virpi']

Esko is not cheating and has less than 3hours.

Esko starting time is ['14:24'].
Esko max ending time is ["17:23"] from the list of Esko's task data:
{
"3": ["16:43", "15:47", "17:23", "15:54", "17:15"],
"7": ["14:45", "16:38", "15:48", "15:48", "16:02"],
"4": ["15:12", "16:19"],
"8": ["16:12", "16:47", "16:26", "16:25", "16:34", "16:27", "14:32", "16:10", "15:33", "15:29", "16:31"],
"1": ["16:16", "15:31", "16:32", "16:29", "17:10"],
"6": ["14:26", "16:04", "16:53", "15:57", "14:44"],
"2": ["15:12", "16:05", "15:07", "15:49", "16:13"],
"5": ["16:20", "16:02", "14:49", "17:04", "17:22", "14:57", "16:24"]
}

To be classified as a cheater it must be over 3 hours which Esko is not. 1 minute less than 3 hours.

At the moment, I added cheater. append (esko") to the bottom of the code to get it passed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant