Apr-23-2018, 10:40 AM
Hi i need help with writing a function which will return a list of values under the following conditions:
example:
[python]
def example(a, width, lower_limit):
a = [-1, 5, 4, 8, 3, 21, 18, 16, 3, 2, 3, 1, 4, 5, 17, 22, 36, 33, 34, 9, 1, -2]
a = a + [-2, 4, -1, 7, 13, 12, 3, 1, 4, 5, 26, 22, 28, 27, 26, 2, 8, 6]
lower_limit = 15
Sorry this is the correct set of conditions:
![[Image: 9a9924480a225b4158bae9b431e24b8e]](https://gyazo.com/9a9924480a225b4158bae9b431e24b8e)
Could someone please me because i am struggling to find a way to even start this problem.
example:
[python]
def example(a, width, lower_limit):
a = [-1, 5, 4, 8, 3, 21, 18, 16, 3, 2, 3, 1, 4, 5, 17, 22, 36, 33, 34, 9, 1, -2]
a = a + [-2, 4, -1, 7, 13, 12, 3, 1, 4, 5, 26, 22, 28, 27, 26, 2, 8, 6]
lower_limit = 15
Sorry this is the correct set of conditions:
Could someone please me because i am struggling to find a way to even start this problem.