Permalink
Switch branches/tags
Nothing to show
Commits on Sep 11, 2015
  1. Update README.md

    terryjbates committed Sep 11, 2015
Commits on Apr 30, 2015
  1. Aadded hand_sum.py and hand_sum.txt. Dealing with dirty data, since r…

    terryjbates committed Apr 30, 2015
    …anking in main script did not score J,Q,K with value of 10.
Commits on Apr 29, 2015
  1. Cleaned upd res=[], made rank count print out in tab format for card_…

    terryjbates committed Apr 29, 2015
    …hist.count_dict.items()
Commits on Aug 31, 2014
Commits on Aug 21, 2014
  1. Modified code to ignore skipping gutenberg header.

    terryjbates committed Aug 21, 2014
    Also, added shebang.
Commits on Aug 17, 2014
Commits on Aug 10, 2014
Commits on Aug 4, 2014
  1. Created solution to Exercise 18.3. Create a deal_hands method to take…

    terryjbates committed Aug 4, 2014
    … two params, 1. num of hands to create 2. num of cards per hand, and create hands and pop cards off deck to populate hands
  2. Completed Exercise 18.2, create a sort() method to sort the cards in …

    terryjbates committed Aug 4, 2014
    …the deck. Used the Card.__cmp__ function.
Commits on Aug 3, 2014
  1. Added cmp method to the Time object class, using integer times to ret…

    terryjbates committed Aug 3, 2014
    …urn comparison return value.
Commits on Aug 2, 2014
Commits on Jul 25, 2014
Commits on Jul 19, 2014
  1. Created exercise-17.7.py

    terryjbates committed Jul 19, 2014
    Created solution to exercise-17.7.py. Lesson is not to be silly and use mutables as default arguments to __init__ otherwise subsequently created objects will make reference that that initial mutable item. Naughty naughty.
Commits on Jul 18, 2014
  1. Create Time2.py

    terryjbates committed Jul 18, 2014
Commits on Jul 16, 2014
  1. Created solution to exercise-17.5. Created an __add__ method to condi…

    terryjbates committed Jul 16, 2014
    …tionally add two Point objects or to add a Point and a tuple.
  2. Made recommended PEP8 modifications, adding one line between class me…

    terryjbates committed Jul 16, 2014
    …thods, removing redundant parens.
Commits on Jul 7, 2014
Commits on Jul 6, 2014
  1. Created solution to exercise 16.6, though exercise seems really vague…

    terryjbates committed Jul 6, 2014
    …ly explained. Created time_per_mile function to compute average time to cover one mile.
  2. Added *.pyc to .gitignore.

    terryjbates committed Jul 6, 2014
  3. Created solution to exercise 16.3.py, writing a correct version of in…

    terryjbates committed Jul 6, 2014
    …crement() function, without loops. Modified print_time to pad zeroes when printing out Time objects.