Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

How many runs did Brendon McCullum make?

So far, so great!!

Let's continue!! It was very exciting to see McCullum thrash the bowlers around the park and create history in the inaugral match itself. Let's rejuvenate ourselves with his Masterclass.

Write the function BC_runs that :

  • Calculates the number of runs scored by Brendon McCullum and stores in a variable.
  • Initializes a variable named as runs to zero.
  • Access the deliveries delivered in the first innings from the data.
  • Iterates on the loop to Access the delivery infoof Brendon McCullum with the runs he scored and saves it in the variable runs(keeps on updating as runs increases).

Parameters:

Parameter dtype argument type default value description
data dict compulsory data loaded from the yaml file

Returns:

Return dtype description
variable runs int Total runs scored by BB McCullum