Coding with Python Collection Types

The hands-on lab is part of this learning path

Lab Steps

Logging in to the Amazon Web Services Console
Connecting to the Python Web IDE
Exercise 1 - Tuples
Exercise 2 - Lists
Exercise 3 - Sets
Exercise 4 - Dictionaries

Ready for the real environment experience?

DifficultyBeginner
Max Duration1h
Students64
Ratings
4.3/5

Description

Lab Overview

Knowing how to manage large amounts of data using the right Python collection types is an important skill that should be mastered!

This Lab is designed to show you how to assess and exploit the correct Python collection types.

  • Exercise 1 - Tuples: Complete the code used to store and manipulate data using Tuples
  • Exercise 2 - Lists: Complete the code used to store and manipulate data using Lists
  • Exercise 3 - Sets: Complete the code used to store and manipulate data using Sets
  • Exercise 4 - Dictionaries: Complete the code used to store and manipulate data using Dictionaries

Note: Each exercise has a provided solution to consult with when needed.

Lab Objectives

Upon completion of this Lab, you will be able to:

  • Write Python code to manage and maintain data within Tuples, Lists, Sets, and Dictionaries
  • Use the terminal to launch and debug Python scripts

You should:

  • Be comfortable with using a browser-based IDE

Lab Environment

This Lab will start with the following AWS resources provisioned automatically for you:

  • A single EC2 instance, named ide.python.platform.instance, which will have a public IP address attached. This instance will host a web-based Python IDE (based on the Visual Code editor).

To achieve the Lab end state, you will be walked through the process of:

  • Using your local browser, access the web-based Python IDE served from the ide.python.platform.instance
  • Completing the following lab exercises:
    • Exercise 1 - Tuples
    • Exercise 2 - Lists
    • Exercise 3 - Sets
    • Exercise 4 - Dictionaries

 

About the Author

Students10923
Labs28
Courses65
Learning paths15

Jeremy is the DevOps Content Lead at Cloud Academy where he specializes in developing technical training documentation for DevOps.

He has a strong background in software engineering, and has been coding with various languages, frameworks, and systems for the past 20+ years. In recent times, Jeremy has been focused on DevOps, Cloud, Security, and Machine Learning.

Jeremy holds professional certifications for both the AWS and GCP cloud platforms.
 

Covered Topics