Question: Write a function called biggest() that takes a list of integers (data) and returns a new list of integers (of length 2). The first number

 Write a function called biggest() that takes a list of integers
(data) and returns a new list of integers (of length 2). The

Write a function called biggest() that takes a list of integers (data) and returns a new list of integers (of length 2). The first number in the returned list is the biggest number in the input list. The second number is the number of times that the this biggest number appears in the input list. The function is called as follows: biggest (data) Use the name shown above for the input parameter. The input list will always have at least one number in it. For full marks, your function must use a for loop. You can use a while loop to receive partial/most marks for this problem. Do NOT use any built-in Iunctions or modules that find the largest number for you (like the max() function) For example, (highlight shows the biggest numbers in the input) >>> biggest ( [1,1, 12, 11, 12, 11, 12,-1,-2,8,2] ) [12,3) >>> biggest (191) [9,1] 6:52 Music Done 7 of 7 biggest Use the same shown above for the put parameter The input will always have at least center in For full marks your function must use a for love can use a while loop to receive partial mosti this problem. Do NOT use any built in functions of modules that find the largest number for vore the max) function) For example, thighlight sous biggest nubes the input) >> biggest 12 Sao 19 Do NOT wse any built in functions of moduleht find the largest number for you the most functions

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!