Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
README
------

* even.py: demonstrates the usage of the "%" operator, and the def
  statement to figure out whether a given number is even, or odd 

* find-largest.py: find the largest number in a list of integers
  using a) a for loop, or b) the max function

* count-numbers.py: shows how to count numbers in a list (finding the
  elements that are numbers)

* binary-search.py: do a binary search on a list of numbers

* faculty.py: calculate the faculty of a number as a recursive function

* primeNumbers.py: detect, and sum prime numbers

* re.py: detect colour codes using regular expressions