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

Python M2Assignment

Player stats for cricket need to be stored and displayed. A player may have played for multiple teams and in different formats. The assignment is to create a list of data fields to represent player stats, using appropriate Python data types. The response should be in a table format showing the data field, data type, an example, and reason for using that data type. This will evaluate understanding of Python data types and naming conventions.

Uploaded by

Rishikesh Date
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
359 views

Python M2Assignment

Player stats for cricket need to be stored and displayed. A player may have played for multiple teams and in different formats. The assignment is to create a list of data fields to represent player stats, using appropriate Python data types. The response should be in a table format showing the data field, data type, an example, and reason for using that data type. This will evaluate understanding of Python data types and naming conventions.

Uploaded by

Rishikesh Date
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