diff options
author | George Cushen <gcushen@users.noreply.github.com> | 2021-01-24 22:56:32 +0300 |
---|---|---|
committer | George Cushen <gcushen@users.noreply.github.com> | 2021-01-24 22:56:32 +0300 |
commit | f39774e9814c6e1ab830b570ea1d6eca1c014504 (patch) | |
tree | ee193f3e4c1c6567ed625d155ec3a63f436d57a5 /exampleSite/content/courses/example/python.md | |
parent | 52d95d75745808de3f5f067948309ae5f9c53e22 (diff) |
feat: add a more practical example course
Diffstat (limited to 'exampleSite/content/courses/example/python.md')
-rw-r--r-- | exampleSite/content/courses/example/python.md | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/exampleSite/content/courses/example/python.md b/exampleSite/content/courses/example/python.md new file mode 100644 index 00000000..8abe1062 --- /dev/null +++ b/exampleSite/content/courses/example/python.md @@ -0,0 +1,36 @@ +--- +title: Python basics +date: '2021-01-01' +type: book +weight: 20 +--- + +Build a foundation in Python. + +<!--more--> + +{{< icon name="clock" pack="fas" >}} 1-2 hours per week, for 8 weeks + +## Learn + +{{< youtube rfscVS0vtbw >}} + +## Quiz + +{{< spoiler text="What is the difference between lists and tuples?" >}} +Lists + +- Lists are mutable - they can be changed +- Slower than tuples +- Syntax: `a_list = [1, 2.0, 'Hello world']` + +Tuples + +- Tuples are immutable - they can't be changed +- Tuples are faster than lists +- Syntax: `a_tuple = (1, 2.0, 'Hello world')` +{{< /spoiler >}} + +{{< spoiler text="Is Python case-sensitive?" >}} +Yes +{{< /spoiler >}} |