+ 2
Function
Define a Python function ascending(l) that returns True if each element in its input list is at least as big as the one before it. Define a Python function alternating(l) that returns True if the values in the input list alternately go up and down (in a strict manner)
2 odpowiedzi
+ 3
give it a try and post the code here, we’ll help you make any necessary corrections ☺️