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

Python M2 Assignment 2

Python Module 2 answer

Uploaded by

Aditya Singh
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
18 views

Python M2 Assignment 2

Python Module 2 answer

Uploaded by

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

Module 2 Assignment Solution

Data field identifier Data type Example Your reason for using this data
type
player_name String Virat Kohli Names may contain letters and any
other characters.
country String India Country name may contain letters
and any other characters.
century Integer 46
number_of_matches integer 259 Number of matches contain integer
value
team List india=["Virat Kohli", A changeable collection of player
"Shubman Gill", names.
"Suryakumar", "Rohit
Sharma", "Umran
Malik", "Hardik Pandya"]
player_stats Dictionary p1={'name':'Virat Kohli', This is a collection of relevant player
'runs':12658, stats.
'4(fours)':120,'6(sixs)':80,
'balls':119,
'role':'Batsmen',
'field':0,’100’:46}
run_rate Float 10.6 Run rate is the runs required per
delivery. This can have decimal
values.

You might also like