import Image, re, ImageDraw
first = [
146,399,163.....
]
second = [
156,141,165.....
]
fc = zip(first[0:443:2], first[1:443:2])
sc = zip(second[0:443:2], second[1:443:2])
im = Image.open('good.jpg')
draw = ImageDraw.Draw(im)
draw.line(fc, fill = 128)
draw.line(sc, fill = 128)
del draw
im.save('good1', 'PNG')
離上次做Python challenge也有兩個禮拜了吧
這關當初就一直卡
今天心血來潮做一下就做出來了
但是,我畫出一隻動物以後
我一直以為他是羊,我也不知道為什麼我會覺得他是羊
結果,強者我學長: 這不是牛嗎?
.....
.........
...........
就這樣我就過了。

3 comments:
風吹早低見牛羊
我明明就有過= =
是喔XD
Post a Comment