Choose One! Due: Feb 14 (10% late per work day) You must make at least three function. ------------------------------------------------------------------ Hamarabi! You start with 100 workers and 100 grains. Each year Display the amount of available grain and people. Ask the monarch how many people work to farm. Ask the monarch how many people work to make babies. A farmer grows two grains. Two babie-makers make one new person. Each person needs to eat one unit, or they die. When there are 300 people, victory! When there is less than 2 people, death! Remember. Stupid answers are to be rejected. An answer is stupid if it's below zero or exceeds the number of people available. -------------------------------------------------------------------- Data-file! Below is a data file. What is the average? 3 2 1 4.0 5.0 Below is a data file. What is the average of the second column? Filter out errors. A number is an error if it's negative. Make a method that takes an array as an argument, and returns a filtered array without any negative numbers. Hint: good_data = my_filter_method(bad_data) 1.0, 3.0 -1.0, 4.1 2.0, -3.2 2.1, 3.3 3.3, 2.9 2.9, 3.6 Below is a data file. Sort by the second column (so Hailey is LAST and Wilma is FIRST). Hint: https://www.pythoncentral.io/how-to-sort-a-list-tuple-or-object-with-sorted-in-python/ 1.0, 3.0, Snoopy -1.0, 4.1, Wilma 2.0, -3.2, Hailey 2.1, 3.3, Barnard 3.3, 2.9, Fredfredburger 2.9, 3.6, Ubuntu 0, 0, Origin Below is a data file. Graph the 1st vs 2nd column. Use a method you wrote to make the graph. Hint: You might need to sort by x values Hint: https://www.pythoncentral.io/how-to-sort-a-list-tuple-or-object-with-sorted-in-python/ Hint: make_me_a_graph(x, y) 1.0, 3.0, Snoopy -1.0, 4.1, Wilma 2.0, -3.2, Hailey 2.1, 3.3, Barnard 3.3, 2.9, Fredfredburger 2.9, 3.6, Ubuntu 0, 0, Origin