CSV Processing

Algorithm · Stripe · Easy

Read CSV-formatted data in Python and output the largest and smallest number found on every line. Each input row consists of comma-delimited integers. Your program must do the following: Obtain the CSV data through standard input. Determine the greatest and least integer on each row. For every row, print the result using the format max: {max}, min: {min}. Example Input: Example Output: Example

Loading the rest of the question…