Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (1 vote)
165 views

Python M2Assignment

Player stats for different cricket formats need to be stored and displayed. A data structure is required to track individual player stats as players may represent multiple teams and play in different formats. The assignment asks students to identify appropriate data fields and Python data types to represent each field, such as using strings to store player names since names can include letters and other characters. Students should submit their response in a table format with the data field, data type, an example, and reason for using that type.

Uploaded by

Vishal Kumar
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (1 vote)
165 views

Python M2Assignment

Player stats for different cricket formats need to be stored and displayed. A data structure is required to track individual player stats as players may represent multiple teams and play in different formats. The assignment asks students to identify appropriate data fields and Python data types to represent each field, such as using strings to store player names since names can include letters and other characters. Students should submit their response in a table format with the data field, data type, an example, and reason for using that type.

Uploaded by

Vishal Kumar
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Module 2 Assignment

Introduction
For this assignment, read the scenario below and then respond to the problem statement
described.

Scenario
You are required to design the data structure to display the individual player stats for cricket
players. A player may have represented more than one team and may have played in more
than one format such as Test, ODI and T20.

Problem Statement
Create a list of different data fields and use appropriate Python data types to represent each
of them.

Assignment Submission
You can use the table format displayed below for your response. You can add additional
columns of information if you want. Create a document/pdf of your response and upload a zip
file using the Progress Tracker.

Data field Data type Example Your reason for using this data
identifier type

player_name String Virat Kohli Names may contain letters and


any other characters.

Learning outcomes being evaluated


• Distinguish between different data types.
• Use recommended conventions for naming variables.

Programming with Python

You might also like