Skip to content

Error Module04 - Ex02 #9

@jdugoudr

Description

@jdugoudr

Day : 04
Ex : 02

Proportion number are not same in Correction and Subject file (for the case of the y:2004, s:Tennis, g: F).
Values in the correction file does not take into account of duplication women (If someone compete to multiple competition).

The correct answer should be the one in the subject file.

Subject file

proportionBySport(data, 2004, ’Tennis’, ’F’)
# Output
0.01935634328358209

Correction file

print(proportionBySport(data, 2004, 'Tennis', 'F'), end = "\n\n")
# output is "0.02307"

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions