@@ -25,7 +25,7 @@ from datetime import date
2525
2626#### 14
2727result: http://www.pythonchallenge.com/pc/return/uzi.html
28- ```
28+ ``` python
2929from PIL import Image
3030from PIL import ImageDraw
3131```
4444
4545#### 13
4646result: http://www.pythonchallenge.com/pc/return/italy.html
47- ```
47+ ``` python
4848import xmlrpc.client
4949```
5050It's amazing that RPC tech has so much long history.
@@ -55,7 +55,7 @@ This method returns a list of the methods the server has, by name.
5555
5656
5757POST below with application/xml to server.
58- ```
58+ ``` xml
5959<?xml version =" 1.0" ?>
6060<methodCall >
6161 <methodName >phone</methodName >
@@ -76,7 +76,7 @@ use python IO to divide the gfx into 5(5 is the count of playing card in the pic
7676
7777#### 11
7878result: http://www.pythonchallenge.com/pc/return/evil.html
79- ```
79+ ``` python
8080from PIL import Image
8181from PIL import ImageDraw
8282```
@@ -107,20 +107,20 @@ result: http://www.pythonchallenge.com/pc/return/good.html
107107un: huge pw: file
108108
109109html knowledge: img-usemap="#--", map, area, sharp, poly, coords.
110- ```
110+ ``` python
111111import bz2
112112```
113113
114114#### 7
115115result: http://www.pythonchallenge.com/pc/def/integrity.html
116- ```
116+ ``` python
117117from PIL import Image
118118```
119119use PIL module to find the block's pixel with getpixel(), then use chr() to translate the code
120120
121121#### 6
122122result: http://www.pythonchallenge.com/pc/def/oxygen.html
123- ```
123+ ``` python
124124import zipfile
125125```
126126zip file not only can bi unzip, can contains a lot of comments.
@@ -130,15 +130,15 @@ every level will play with a new lib.
130130
131131#### 5
132132result: http://www.pythonchallenge.com/pc/def/channel.html
133- ```
133+ ``` python
134134import pickle
135135```
136136every line elements add up to 96
137137
138138#### 4
139139result: http://www.pythonchallenge.com/pc/def/peak.html
140140
141- ```
141+ ``` python
142142import requests
143143```
144144this is a http client lib with to do http request.
0 commit comments