Coder Social home page Coder Social logo

mrroot5 / python-teach-learn Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 26 KB

This is a repository to teach and learn Python

License: MIT License

python python-exercises python-learn python-learning python-script python3 python3-excercise python3-learning pythonlearn pythonlearning

python-teach-learn's Introduction

Python teach and learn

This is a repository to teach and learn Python.

If you are a teacher, you can use all the exercises on this repo for your own purpose: teach some concept, exams, etc.

As a student take a look to the explanations below.

Requirements

  • Python >= 3.6.
  • Git installed.
  • A GitHub account.

Repo structure

On master you only have a few files, every exercise is inside his own branch.

Every branch has a name with index + what we learn. For example the first branch is 0_hello-world. Also, we have modifications to the main exercise on a branch, example: 0.1_hello-someone. This modifications add more complexity to the main problem like is usually done on code katas.

Katas starts with a simple problem and will be more complicated on every step

Step by step guide

If you fork this repo, never update the original branches because you could have conflicts in the future. Instead of that, create new branches.

Step 0: Read it

Yes, this should be your first step, read this README and, of course, we start with 0 not 1. If you do not know why, we will see it in the future, be patient.

Step 1: Fork

You should fork this repo and then start working with it. How? We will see a step by step guide with git commands.

If you use another tool like GitHub Desktop take a look to their docs.

fork button

Step 2: Setup the upstream

This step is required to have the latests updates from the main repo in your forked one.

When you setup this you will be able to:

  1. Update the master branch of your forked repo.
  2. Get any new branch created from the main repo.

Add upstream remote origin

git remote add upstream [email protected]:mrroot5/python-teach-learn.git

Update branches

This could be done with the fetch button on GitHub:

fetch button

Or with a git command:

git pull upstream master

Simply change master for the branch you want. On GitHub you must change to a new branch to have the option to fetch it.

Update list of branches

I do not know if GitHub have an option to do this so, this is the command:

git fetch upstream

python-teach-learn's People

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.