You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3-33
Original file line number
Diff line number
Diff line change
@@ -5,8 +5,8 @@ A collection of practice problems, exercises, and other resources to level up yo
5
5
Problem sets are arranged by topic and are linked below. Each problem set lists the problems and provides 1) a [Colaboratory notebook](https://colab.research.google.com) where you can develop code in your browser, and 2) a solution [notebook](https://colab.research.google.com) so you can see and run some code that solves the problem. All solutions are written in Python 3. [I](https://github.com/bhlmn) am not the author of most of these problems, and have provided credit when I'm not!
6
6
7
7
**The basics**
8
-
1.[Printing](./problem_sets/print.md)
9
-
2.[Strings](./problem_sets/strings.md)
8
+
1.[Printing](problem_sets/print)
9
+
2.[Strings](problem_sets/strings)
10
10
3. Math operations
11
11
4. Collecting user input
12
12
5. Lists
@@ -43,34 +43,4 @@ Problem sets are arranged by topic and are linked below. Each problem set lists
43
43
44
44
## Contributing
45
45
46
-
### Please contribute!
47
-
48
-
The Pyrates would love help in building out this repository! As one could see above, there exists a multidude of resources across the internet for practicing Python, but we want a spot where:
49
-
50
-
* Problems are organized by topic, and somewhat ordered by difficulty
51
-
* Exercises and solutions are version controlled
52
-
* Exercises are posted in a place where you can easily run the code (a Colab notebook)
53
-
* Anyone can access these problems
54
-
* Anyone can contribute/add problems and solutions
55
-
56
-
### Steps to contribute
57
-
58
-
As such, building out this repo is a way we can accomplish all of these goals. It will take some work, so we'd love it if you contributed. Here are the steps to doing so:
59
-
60
-
1. Look at the [open issues](https://github.com/PDXPythonPirates/python-practice-problems/issues) page for areas where we need help and pick a specific problem to tackle.
61
-
2. Fork this repository to your own GitHub account. We recommend calling it `python-practice-problems-{your-first-name}` (e.g., `python-pracitce-problems-bryan` if you are blessed with such an awesome name).
62
-
3. Clone the fork to your local machine.
63
-
4. Connect your fork to the upstream `python-practice-problems` repository.
64
-
5. Before you begin making edits, pull the latest code
65
-
6. Create a new branch and make edits. Edits will be at least one of the following, and guidelines for how to do these are given in [the following section](https://github.com/PDXPythonPirates/python-practice-problems#edit-guidelines).
66
-
* Adding exercise ideas to a problem set
67
-
* Creating an exercise notebook (or notebooks) for problem(s) in a problem set
68
-
* Creating a solution notebook (or notebooks) for problem(s) in a problem set
69
-
* Updating readmes to make these problems easy to find
70
-
7. Review your changes and push them to your fork
71
-
8. Submit a pull request
72
-
9. After a review, make any necessary changes
73
-
74
-
### Edit guidelines
75
-
76
-
TBD
46
+
We are eager to have others contribute! Please see our [contributor guidelines](docs/contributing.md) to get started!
The Pyrates would love help in building out this repository! There exists a multidude of resources across the internet for practicing Python, but we want a spot where:
4
+
5
+
* Problems are organized by topic, and somewhat ordered by difficulty
6
+
* Exercises and solutions are version controlled
7
+
* Exercises are posted in a place where you can easily run the code (a Colab notebook)
8
+
* Anyone can access these problems
9
+
* Anyone can contribute/add problems and solutions
10
+
11
+
## Steps to contribute
12
+
13
+
As such, building out this repo is a way we can accomplish all of these goals. It will take some work, so we'd love it if you contributed. Here are the steps to doing so:
14
+
15
+
1. Look at the [open issues](https://github.com/PDXPythonPirates/python-practice-problems/issues) page for areas where we need help and pick a specific problem to tackle.
16
+
2. Fork this repository to your own GitHub account. We recommend calling it `python-practice-problems-{your-first-name}` (e.g., `python-pracitce-problems-bryan` if you are blessed with such an awesome name).
17
+
3. Clone the fork to your local machine.
18
+
4. Connect your fork to the upstream `python-practice-problems` repository.
19
+
5. Before you begin making edits, pull the latest code
20
+
6. Create a new branch and make edits. Edits will be at least one of the following, and guidelines for how to do these are given in [the following section](https://github.com/PDXPythonPirates/python-practice-problems#edit-guidelines).
21
+
* Adding exercise ideas to a problem set
22
+
* Creating an exercise notebook (or notebooks) for problem(s) in a problem set
23
+
* Creating a solution notebook (or notebooks) for problem(s) in a problem set
24
+
* Updating readmes to make these problems easy to find
These exercises do not need to be completed in order, but they are generally ordered in increasing difficulty. The solutions provided _are not the only possible_ solution. Your's might look different, and that is okay!
4
+
5
+
1. Using the `print()` function, print at least four lines of your favorite poem or song lyrics. Do this on multiple lines. [Exercise link](exercises/01_print_multiple_lines.ipynb). [Solution link](solutions/01_print_multiple_lines.ipynb).
Copy file name to clipboardExpand all lines: problem_sets/print/solutions/01_print_multiple_lines.ipynb
+2-29
Original file line number
Diff line number
Diff line change
@@ -4,34 +4,9 @@
4
4
"cell_type": "markdown",
5
5
"metadata": {},
6
6
"source": [
7
-
"# The `print()` function.\n",
7
+
"# Printing output on multiple lines\n",
8
8
"\n",
9
-
"You can open this notebook on Google's interactive notebook environment, Colaboratory, by clicking [this link](https://githubtocolab.com/PDXPythonPirates/python-practice-problems/blob/main/problem_sets/01_print.ipynb).\n",
10
-
"\n",
11
-
"These exercises do not need to be completed in order, but they are generally ordered in increasing difficulty. The solutions provided _are not the only possible_ solution. Your's might look different, and that is okay!"
12
-
]
13
-
},
14
-
{
15
-
"cell_type": "markdown",
16
-
"metadata": {},
17
-
"source": [
18
-
"Exercise 1. Using the `print()` function, print at least four lines of your favorite poem or song lyrics. Do this on multiple lines."
19
-
]
20
-
},
21
-
{
22
-
"cell_type": "code",
23
-
"execution_count": null,
24
-
"metadata": {},
25
-
"outputs": [],
26
-
"source": [
27
-
"# Code solution here."
28
-
]
29
-
},
30
-
{
31
-
"cell_type": "markdown",
32
-
"metadata": {},
33
-
"source": [
34
-
"Solution: expand and run the cell below."
9
+
"Using the `print()` function, print at least four lines of your favorite poem or song lyrics. Do this on multiple lines."
0 commit comments