In the above code we have a list num_of_inputs
that contains a different number of inputs. The steps
list will always contain 2 for each item in the num_of_inputs
list. If you plot the num_of_inputs
list on x-axis and the steps
list on y-axis you will see a straight line as shown in the output:
