Skip to content

Skeleton code used to help students learn Python to a basic level.

Notifications You must be signed in to change notification settings

kiransingh99/tutoring-learn-python

Repository files navigation

Learn Python

Description

Skeleton code used to help students learn Python to a basic level.

Requirements

To use these notebooks, you will need to have Python 3 installed, and some way of viewing python notebooks (such as Jupyter, or a VS Code extension).

If using VS Code, you may want to install an extension to let you view pdf files (but this is not necessary).

Structure

  1. Variables, assignment and operator precedence
  2. Control statements
  3. Types, type conversions and floating point arithmetic
  4. Functions
  5. Library functions
  6. Data structures
  7. Numerical computation
  8. Plotting
  9. Error handling and testing
  10. Algorithms
  11. Complexity
  12. Object-oriented design
  13. Compiled and interpreted languages

The exercises are designed to be completed in order. To complete an activity:

  1. Read through the guide.ipynb notebook, and change parts of the programs if you want to experiment with what happens - this will help your understanding.
  2. Complete the exercises.ipynb file for the exercise before moving onto the next activity.

As you move through the activities you might need to revise some of the earlier notebooks.

Tests

In the exercises, there is one cell for you to enter your code, followed by another cell containing the function assert(...). Don't edit anything in this cell. This just checks that your code gets the right final answer. For this reason, make sure you follow the instructions carefully and create variables with the right name.

About

Skeleton code used to help students learn Python to a basic level.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published