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

 

konstans@stuy.edu all > isEven
prev  |  next  |  chance

Determine if n is even, return True when it is, False otherwise.


isEven(12) → True
isEven(11) → False
isEven(0) → True

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

def isEven(n):

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: 2

Copyright Nick Parlante 2017 - privacy