Lesson 02: Cheat Sheet

  1. num_integer = 1
  2. num_float = 1.2
  3. a_string = “one”
  4. a_list = [1, “one”, 2.2]
  5. a_tuple = (1, “one”, 2.2)
  6. a_dictionary = {“one”: 1}

Once you are comfortable with this, test your knowledge of Pythonic syntax at Lesson 01: Quiz.