Prachi plants N different sunflowers, each with a unique height, ordered from smallest to largest, and records their heights for N consecutive days. Each day, all of her flowers grow taller than they were the day before. She records each of these measurements in a table, with 1 row for each plant, with the first row recording the shortest sunflower's growth and the last row recording the tallest sunflower's growth. The leftmost column is the first measurement for each sunflower, and the rightmost column is the last measurement for each sunflower. If a sunflower was smaller than another when initially planted, it remains smaller for every measurement. Unfortunately, her children may have altered her measurements by rotating her table by a multiple of 90 degrees. Your job is to help Prachi determine her original data.
Write a Python program, including comments, that will ask the user for a list of N by N of numbers where N is at most 10. Your program must display the unrotated original list
1
Expert's answer
2019-11-02T07:21:21-0400
Dear john, your question requires a lot of work, which neither of our experts is ready to perform for free. We advise you to convert it to a fully qualified order and we will try to help you. Please click the link below to proceed: Submit order
Comments
Leave a comment