Question: Launch Blender, and switch to Scripting view. In the Console, complete each of the following tasks: 1. Write a Python function based on the following
Launch Blender, and switch to Scripting view. In the Console, complete each of the following tasks: 1. Write a Python function based on the following algorithm for finding the minimum value in a given list of numbers. Once your minimum function works, write a Python function for finding the maximum value in a given list of numbers. Set a Boolean variable "first" to true For each number in the list If first is true Set the minimum to the number. Set first to false Set the minimum to the number. Otherwise, if the number is less than the minimum Return the minimum. Test each of your functions with these lists: [-6, 5, 3, 0, 1, 8, 2, 10] Paste your function definitions with the results here
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
