[ANN] Free Python tutorial with exercises, cscx.org
Hello python-list members, I would like to announce the following educational project: Computer Science by Example https://cscx.org/ is a collection of short programming exercises. The site can automatically grade students' solutions and it accepts submissions in Python. The exercises start simple, then increase in difficulty and complexity gradually. Here are some examples: * Print "Hello, World!": https://cscx.org/hello * Add two numbers: https://cscx.org/add1 * Compute the factorial of a number: https://cscx.org/factorial * Compute the GCD of two numbers: https://cscx.org/gcd * Solve the change-making problem: https://cscx.org/cash The website has a tutorial section covering Python's basics. I tried to make the content easy to use by instructors/lecturers, feel free to use this with your students. The backend of the website is open source and you can find it on https://github.com/rudymatela/udge -- Rudy -- https://mail.python.org/mailman/listinfo/python-list
Re: [ANN] Free Python tutorial with exercises, cscx.org
On Fri, Apr 02, 2021 at 05:00:40AM +1100, Chris Angelico wrote: > On Fri, Apr 2, 2021 at 2:14 AM Rudy Matela wrote: > > Computer Science by Example https://cscx.org/ is a collection of short > > programming exercises. The site can automatically grade students' > > solutions and it accepts submissions in Python. > > What versions of Python does it support? The setup page is not clear. It supports Python 2 and 3. When you submit solutions to the exercises, the system looks at the hashbang (#!) to check whether you are using Python 2 or 3: #!/usr/bin/env python2 or #!/usr/bin/env python3 When none of these are present it defaults to Python 3. The examples in the tutorial section (https://cscx.org/programming-basics) are done so that they are compatible with both versions of the language. So if you have either 2 or 3, you'll be able to follow the tutorial and exercises. I'll add this clarification in the setup section and the FAQ later this week. -- https://mail.python.org/mailman/listinfo/python-list
ANN: Concise Python Cheat Sheet
Hello All, I have started building a Python Cheat Sheet. It aims to have Python's most common language features and functions condensed in two pages. It still needs a lot of improvement and better content. If someone wants to use it as a reference, the first version can be found on [1] and the TeX source can be found on GitHub [2]. I would appreciate help on it: feel free to fork and make pull requests with new additions. It is dual licensed under CC-BY-SA 3.0 / GFDL 1.3. I am aware there are other Python cheat sheets / reference cards flying around on the internet. But I did not feel completely satisfied with them: I feel some sheets are too long or cluttered while other sheets leave out important content (IMHO). Regards, Rudy [1]: https://github.com/rudymatela/concise-cheat-sheets/releases/download/python-v0.1/python-cs-0.1.pdf [2]: https://github.com/rudymatela/concise-cheat-sheets -- https://mail.python.org/mailman/listinfo/python-list