UWPCE-PythonCert / PythonCertDevel

Development Repo for the Certificate Program
https://uwpce-pythoncert.github.io/PythonCertDevel/index.html
Other
7 stars 15 forks source link

More explanation / tutorial for first Mailroom #141

Closed PythonCHB closed 5 years ago

PythonCHB commented 5 years ago

We had some students comment:

""" The mailroom assignment. Students had to conduct research external to the classroom and educate on programming aspect previously not learned in the classroom. More instruction on building functions and practice doing loops is required to be added. """

I think they should have the basics down by this point (this is not supposed to be their first programming experience).

But for the online class, some students may not know where to begin. So I suggest two "tutorials":

1) making an interactive command line loop:

2) A bit about what data structure might make sense for the mailroom app.

I suggest a list of tuples: each tuple holds a name and list of donations. From my example solution:

donor_db = [("William Gates, III", [653772.32, 12.17]),
            ("Jeff Bezos", [877.33]),
            ("Paul Allen", [663.23, 43.87, 1.32]),
            ("Mark Zuckerberg", [1663.23, 4300.87, 10432.0]),
            ]
natasha-aleksandrova commented 5 years ago

PR for your review please: https://github.com/UWPCE-PythonCert/PythonCertDevel/pull/142

natasha-aleksandrova commented 5 years ago

Closing; above PR is merged.

natasha-aleksandrova commented 5 years ago

Mailroom lessons 3