Homework 2 - practice Module

Introduction

In this assignment you’ll practice manipulating data structures in Python.

General Instructions

This is an individual assignment.

Collaboration at a reasonable level will not result in substantially similar code. Students may only collaborate with fellow students currently taking this course, the TA’s and the lecturer. Collaboration means talking through problems, assisting with debugging, explaining a concept, etc. You should not exchange code or write code for others.

Notes:

Problem Description

You need practice manipulating Python data structures.

Solution Description

Write a module named practice which imports a module called practice_data with the elements in this example practice_data. We suggest using from practice_data import * for convenience.

Your practice module should define the following variables using the data from practice_data:

Grading

Turn-in Procedure

Submit your practice.py file on Canvas as an attachment. When you’re ready, double-check that you have submitted and not just saved a draft.