Skip to content

Instantly share code, notes, and snippets.

View jtlx's full-sized avatar

Joseph Tang jtlx

View GitHub Profile
@jtlx
jtlx / test6.py
Last active August 29, 2015 14:25 — forked from noobistz/test6.py
from random import randint
board = []
for x in range(5):
board.append(["O"] * 5)
def print_board(board):
for row in board:
print " ".join(row)
@jtlx
jtlx / test.py
Last active August 29, 2015 14:25 — forked from anonymous/test.py
shopping_list = ["banana", "orange", "apple"]
stock = {
"banana": 6,
"apple": 0,
"orange": 32,
"pear": 15
}
prices = {