Python Deck-OO-Cards

9 views
Skip to first unread message

Eugene Eichelberger

unread,
Feb 19, 2012, 3:56:10 AM2/19/12
to coderdoj...@googlegroups.com
Dublin Dojo Python Programmers,

Our next session will build off of the playing card game code. I've posted the code here: http://pastebin.com/UcRUKGZy

The core of the code uses Python lists. To understand what this code is doing, you need to understand how lists are used. You can practice building and changing lists by looking at this page. http://docs.python.org/tutorial/datastructures.html 

In our code we use .append and .pop methods. Create a short program and build your own list. Use some of the examples to modify your own lists.

-Eugene



Reply all
Reply to author
Forward
0 new messages