Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
48 changes: 24 additions & 24 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,58 +32,58 @@ and their solutions.
| Session 6: Turtle Graphics | 7 | 30/11 | Work in progress | Work in progress |


[s0notes]: https://github.com/oxcompsoc/learntocode/tree/master/session0/README.md
[s0pdf]: https://github.com/oxcompsoc/learntocode/tree/master/session0/Notes.pdf
[s0notes]: session0/README.md
[s0pdf]: session0/Notes.pdf

[s1notes]: https://github.com/oxcompsoc/learntocode/tree/master/session1/README.md
[s1pdf]: https://github.com/oxcompsoc/learntocode/tree/master/session1/Notes.pdf
[s1slides]: https://github.com/oxcompsoc/learntocode/blob/master/session1/Slides.pdf
[s1notes]: session1/README.md
[s1pdf]: session1/Notes.pdf
[s1slides]: session1/Slides.pdf
[s1video]: https://youtu.be/yAzp_pRXVPg

[s2notes]: https://github.com/oxcompsoc/learntocode/tree/master/session2/README.md
[s2pdf]: https://github.com/oxcompsoc/learntocode/tree/master/session2/Notes.pdf
[s2slides]: https://github.com/oxcompsoc/learntocode/blob/master/session2/slides.pdf
[s2notes]: session2/README.md
[s2pdf]: session2/Notes.pdf
[s2slides]: session2/slides.pdf
[s2video]: https://youtu.be/orWvOaR0p8E

[s3notes]: https://github.com/oxcompsoc/learntocode/tree/master/session3/README.md
[s3pdf]: https://github.com/oxcompsoc/learntocode/tree/master/session3/Notes.pdf
[s3slides]: https://github.com/oxcompsoc/learntocode/blob/master/session3/slides.pdf
[s3notes]: session3/README.md
[s3pdf]: session3/Notes.pdf
[s3slides]: session3/slides.pdf
[s3video]: https://www.youtube.com/watch?v=TU1aisio7IU

[s4notes]: https://github.com/oxcompsoc/learntocode/tree/master/session4/README.md
[s4pdf]: https://github.com/oxcompsoc/learntocode/tree/master/session4/Notes.pdf
[s4slides]: https://github.com/oxcompsoc/learntocode/blob/master/session4/slides.pdf
[s4notes]: session4/README.md
[s4pdf]: session4/Notes.pdf
[s4slides]: session4/slides.pdf
[s4video]: https://youtu.be/E-QXg8Gc-nU

[s5notes]: https://github.com/oxcompsoc/learntocode/tree/master/session5/README.md
[s5pdf]: https://github.com/oxcompsoc/learntocode/tree/master/session5/Notes.pdf
[s5slides]: https://github.com/oxcompsoc/learntocode/blob/master/session5/slides.pdf
[s5notes]: session5/README.md
[s5pdf]: session5/Notes.pdf
[s5slides]: session5/slides.pdf
[s5video]: https://youtu.be/uDT3xMpaCKY

[s6notes]: https://github.com/oxcompsoc/learntocode/tree/master/session6/README.md
[s6pdf]: https://github.com/oxcompsoc/learntocode/tree/master/session6/Notes.pdf
[s6slides]: https://github.com/oxcompsoc/learntocode/blob/master/session6/slides.pdf
[s6notes]: session6/README.md
[s6pdf]: session6/Notes.pdf
[s6slides]: session6/slides.pdf

## Next steps

Now that you have learnt the basics of Python, there are quite a lot you can do with it. You can go ahead to make your own application and unleash your creativity. However, if you are not too sure what to do yet, here are a few extra materials that might help you get started. Note that there is no order in which you have to do these, feel free to choose the one you like the most.

1. [Here][guessnotes] is a tutorial for building a number guessing game in Python. (Difficulty: 2/5)

[guessnotes]: https://github.com/oxcompsoc/learntocode/tree/master/guessthenumber
[guessnotes]: guessthenumber

2. [Here][guessnotes] is a tutorial for building a snake game in Python using PyGame. (Difficulty: 4/5)

[snakenotes]: https://github.com/oxcompsoc/learntocode/tree/master/snake_game
[snakenotes]: snake_game

3. [Here][mlnotes] is a tutorial for basic machine learning in Python. (with thanks to previous committee members in 2020) (Difficulty: 4/5)

[mlnotes]: https://github.com/oxcompsoc/learntocode/tree/master/machine_learning
[mlnotes]: machine_learning

## Running your own Learn to Code

You are more than welcome to use these materials to run your own version of Learn to Code! We would ask that you adhere to the spirit of Learn to Code, meaning in particular that any course run is as free and as open as possible. In particular, please note that these materials are offered under the GPL license. This means that if you use these materials as any part of your own course then you **must** freely publish **all** the materials for that course under the same GPL license.

Please refer to [COPYING][copying] for more details on the license.

[copying]: https://github.com/oxcompsoc/learntocode/tree/master/COPYING
[copying]: COPYING
6 changes: 3 additions & 3 deletions old_materials/Dictionaries_OOP/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ You can find the resources for last week's session [here][s4notes].

In this week's session we are going to continue looking at dictionaries, a common Python data structure introduced at the end of last week's session. Once we've spent a little more time working through an exercise with dictionaries we'll move on to talking about *Object-Oriented Programming* or *OOP* - a way to structure data which is very useful when dealing with various when dealing with Python modules, i.e. the tools that you would use to do more practical things like data analysis and machine learning.

[s4notes]: https://github.com/oxcompsoc/learntocode/tree/master/session4/README.md
[s4notes]: ../../session4/README.md

## Dictionaries

Expand Down Expand Up @@ -80,7 +80,7 @@ Last week we introduced an [exercise][s4exercise] for counting which words
appear in a piece of text. You can find the [solution here][s4solution].

[dictS4]: https://github.com/oxcompsoc/learntocode/blob/master/session4/README.md#dictionaries
[s4exercise]: https://github.com/oxcompsoc/learntocode/tree/master/session4#dictionary-exercise
[s4exercise]: ../../session4#dictionary-exercise
[s4solution]: https://github.com/oxcompsoc/learntocode/blob/master/session4/wc.py

## Object-Oriented Programming
Expand Down Expand Up @@ -244,4 +244,4 @@ class Person:

This is an example of polymorphism - what this basically means is that a fruit can be of either type Apple or Orange and we can have a single definition for eat that is capable of handling both of them.

The reason we covered classes today is because they are used everywhere when dealing with modules - the things that most people rely on to do their daily work with Python. Next time we'll cover a few of those with a focus on the ones that are useful for data science.
The reason we covered classes today is because they are used everywhere when dealing with modules - the things that most people rely on to do their daily work with Python. Next time we'll cover a few of those with a focus on the ones that are useful for data science.
2 changes: 1 addition & 1 deletion old_materials/Lists_Dictionaries/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ if getShapeArea("rectangle", 5, 10) > getShapeArea("tringle", 5, 10): # typo int

```

[s3notes]: https://github.com/oxcompsoc/learntocode/tree/master/session3
[s3notes]: ../../session3

## Exercises

Expand Down
2 changes: 1 addition & 1 deletion session0/Notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ In the [first session][session1] we'll be studying the basics of **Python**, so
it would be great if you could find a setup that works for you before the session
starts. Learn to Code sessions are all interactive, so please bring your laptop!

[session1]: https://github.com/oxcompsoc/learntocode/tree/master/session1
[session1]: ../session1

## What is Python?

Expand Down
2 changes: 1 addition & 1 deletion session1/Notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ The first thing that you’ll need to do is make sure you have Python installed
computer. You can find information on how to do that [here][install].

[bucky]: https://www.youtube.com/watch?v=HBxCHonP6Ro&list=PL6gx4Cwl9DGAcbMi1sH6oAMk4JHw91mC_&index=1
[install]: https://github.com/oxcompsoc/learntocode/tree/master/session0
[install]: ../session0

Throughout these documents note that text in a `monospaced font` is Python code.

Expand Down
4 changes: 2 additions & 2 deletions session2/Notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
[bucky]: https://www.youtube.com/watch?v=HBxCHonP6Ro&list=PL6gx4Cwl9DGAcbMi1sH6oAMk4JHw91mC_&index=7
See [here][week1] for last week's content.

[week1]: https://github.com/oxcompsoc/learntocode/tree/master/session1
[week1]: ../session1

## If statements

Expand Down Expand Up @@ -505,4 +505,4 @@ For highest marks, your program should output 1 star when n is 1, and no stars w

**You can find all the [solutions here][solutions].**

[solutions]: https://github.com/oxcompsoc/learntocode/tree/master/session2/src
[solutions]: ../session2/src
2 changes: 1 addition & 1 deletion session3/Notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -474,4 +474,4 @@ You will want to use what you learned in session 2, exercise 9.

**You can find all the [solutions here][solutions].**

[solutions]: https://github.com/oxcompsoc/learntocode/tree/master/session3/src/
[solutions]: ../session3/src/
2 changes: 1 addition & 1 deletion session4/Notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@ This exercise is quite similar to Exercise 4.

**You can find all the [solutions here][solutions].**

[solutions]: https://github.com/oxcompsoc/learntocode/tree/master/session4/src
[solutions]: ../session4/src

### Extension A. Completing the shopping list
Return to your code from Session 3 Exercise 4 (the shopping list).
Expand Down
2 changes: 1 addition & 1 deletion session5/Notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ This exercise requires you to adapt the [binary search algorithm][binsearch]
seen last week. Given a sorted list of strings, find the least index of an
element with that value. One way we could do this is:

[binsearch]: https://github.com/oxcompsoc/learntocode/tree/master/session2#binary-search-algorithm
[binsearch]: ../session2#binary-search-algorithm

```python
def search(xs, x):
Expand Down