Question: Create a single .py program that performs the following tasks: 1. Modify the provided Biggest function to accept three variables, which could be string, int

Create a single .py program that performs the following tasks: 

1. Modify the provided "Biggest" function to accept three variables, which could be string, int or float, and then convert them to float and return the highest float 

2. Convert your modified NumFileGen and NumFileReader scripts from Lab4, each to a function.  

a. For NumFileGen, pass the arguments of the filename and number of values to generate. 

b. For NumFileReader, pass the argument of the filename. Return the List of integer values 3. Create a script that uses your NumFileGen function 

4. Create a script that uses your NumFileReader function

Step by Step Solution

3.43 Rating (150 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

import random Task 1 Modified Biggest function def findhighestfloata b c try floata floata floatb fl... View full answer

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 Programming Questions!