You are on page 1of 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