Files
website/exampleSite/content/courses/example/python.md
2021-01-24 19:56:32 +00:00

642 B

title, date, type, weight
title date type weight
Python basics 2021-01-01 book 20

Build a foundation in Python.

{{< 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 >}}