id/email
password
forgot password | create account
about | help | code help+videos | done | prefs
CodingBat code practice

 

dsawyer@methacton.org > isDecreasing
prev  |  next  |  chance

Complete the function so that it returns True if every number is less than the numbers that came before it; otherwise, it returns False. There will be at least two numbers in the list.


isDecreasing([10, 8, 1]) → True
isDecreasing([22, 21, 10, 11, 5]) → False
isDecreasing([50, 38, 2, -4, -11]) → True

...Save, Compile, Run (ctrl-enter)

def isDecreasing( nums ):

Editor font size %:
Shorter output


Forget It! -- delete my code for this problem

Progress graphs:
 Your progress graph for this problem
 Random user progress graph for this problem
 Random Epic Progress Graph

Python Help

Difficulty: 250

Copyright Nick Parlante 2017 - privacy