Problem Solving

Contents

How To Solve Coding Problems

If you haven't already, clone this repository to your computer:

$ git clone https://github.com/LaunchCodeEducation/problem-solving-practice.git

Or, you can make your own file and directory. From a terminal:

$ mkdir problem-solving
$ cd problem-solving
$ touch shapes.py
$ code .

You can then write your code in VS Code. To run the file:

$ python shapes.py

If you'd like to be able to push your code to your own GitHub repository, fork the repository first, and then clone your fork.

Then, dig in:

  1. Code the solutions locally, on your computer, using your code editor.
  2. You may solve multiple problems in the same file, but be sure to define a function for each specific problem.
  3. When you've solved a problem, commit! If you have your own fork, push the changes to GitHub.

Refer to the Git Cheatsheet for reference.