diff --git a/topical-units/env-python/README.md b/topical-units/env-python/README.md index 1104e7e49d7db4f6c7a9cc21e5d9c99deeae3116..b00344dc5fc8217009f27979830b5022d54dc939 100644 --- a/topical-units/env-python/README.md +++ b/topical-units/env-python/README.md @@ -3,6 +3,8 @@ Python is a widely-used, interpreted, object-oriented, high level programming language. It is very popular, particularly among domain scientists such as biologists. This language unit is designed for people that have not taken CS128 at Earlham. If you are in a major other than CS, or have previous programming experience in a language other than Python, this module might be perfect for you. +This course emphasizes learn-by-doing, so to learn Python you will write programs in Python. The way to learn a programming language is to read and write code in that language. + ## Resources (and additional READMEs) - [Using Jupyterhub README](JUPYTER.md) - [Python Basics README](BASICS.md) @@ -16,9 +18,10 @@ Python is a widely-used, interpreted, object-oriented, high level programming la ## Deliverables - Write a helloWorld script in python. It should contain a single function called `helloWorld()` that prints the string "Hello World!". - - - +- Write a script in python +- Read a file containing an arbitrary number of integers, one per line. Display the count, total, and average on stderr at the end of the run. Make the program capable of displaying the maximum values of each quantity without resorting to arbitrary precision arithmetic (hint, unsigned long int). + - Use a function/method as part of your program, e.g. to write the aggregated values to stdout. + - Use command line parameters available via argv and argc to support -i input-file-name to pass the input file to your program. ## Notes / Ideas