Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Dictionary and List
Post: RE: Dictionary and List

new_row1 = [' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' '] def displayBoard(row1, playerMarker, comMarker, whoseTurn, move): if whoseTurn == 1: #1 for player, 0 for computer print ("Player...
liewchaochein General Coding Help 2 2,545 Apr-16-2018, 12:08 PM
    Thread: Dictionary and List
Post: Dictionary and List

new_row1 = [' ', '|', ' ', '|', ' '] new_row2 = [' ', '|', ' ', '|', ' '] new_row3 = [' ', '|', ' ', '|', ' '] def displayBoard(row1, row2, row3, playerMarker, comMarker, whoseTurn, move): rowCho...
liewchaochein General Coding Help 2 2,545 Apr-15-2018, 10:06 AM
    Thread: Class/object
Post: RE: Class/object

Noted, thanks :)
liewchaochein General Coding Help 2 3,526 Mar-21-2018, 12:41 PM
    Thread: Class/object
Post: Class/object

class Engine(object): def __init__(self, scene_map): print "Inside Engine.scene_map" print "scene_map: %r" %scene_map self.scene_map = scene_map def play(self): print "Inside Engine.play"...
liewchaochein General Coding Help 2 3,526 Mar-20-2018, 03:17 PM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020