A python challenge that allows discussion of interfaces and the way computers use mathematical modeling in a variety of circumstances.
This gives the opportunity to decide which factors students think are most significant in predicting future lifespan, for example is it better to be a non-smoker or be aged over 95 years?
The problem lends itself to a functional style as each of the factors can be modeled and tweaked independently.
I have used the datetime library and included a quick example file of its use.
The files with filenames ending py are python files and will need the .txt part removed and a dot inserted to make .py files.
NB: The numbering system does not indicate difficulty or teaching order but is to help with my resource management.
Something went wrong, please try again later.
This resource hasn't been reviewed yet
To ensure quality for our reviews, only customers who have downloaded this resource can review it
Report this resourceto let us know if it violates our terms and conditions.
Our customer service team will review your report and will be in touch.