+ 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 Answers
+ 3
give it a try and post the code here, weâll help you make any necessary corrections âșïž