Menu

evenint()

Version 1.0 and Later

Usage

evenint(integer)
  • Returns True if integer is even and False if it is odd.
  • The integer argument must be an integer.

Examples

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

from pydoodles import evenint
evenint(10)
True
evenint(12)
True
evenint(13)
False
evenint(15)
False
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


Related

Blog: 2013/05/10-progress-report

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.