Skip to content

Commit 5e15e32

Browse files
beautify readme
1 parent c070a0f commit 5e15e32

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ from datetime import date
2525

2626
#### 14
2727
result: http://www.pythonchallenge.com/pc/return/uzi.html
28-
```
28+
```python
2929
from PIL import Image
3030
from PIL import ImageDraw
3131
```
@@ -44,7 +44,7 @@ while(
4444

4545
#### 13
4646
result: http://www.pythonchallenge.com/pc/return/italy.html
47-
```
47+
```python
4848
import xmlrpc.client
4949
```
5050
It'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

5757
POST 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
7878
result: http://www.pythonchallenge.com/pc/return/evil.html
79-
```
79+
```python
8080
from PIL import Image
8181
from PIL import ImageDraw
8282
```
@@ -107,20 +107,20 @@ result: http://www.pythonchallenge.com/pc/return/good.html
107107
un:huge pw:file
108108

109109
html knowledge: img-usemap="#--", map, area, sharp, poly, coords.
110-
```
110+
```python
111111
import bz2
112112
```
113113

114114
#### 7
115115
result: http://www.pythonchallenge.com/pc/def/integrity.html
116-
```
116+
```python
117117
from PIL import Image
118118
```
119119
use PIL module to find the block's pixel with getpixel(), then use chr() to translate the code
120120

121121
#### 6
122122
result: http://www.pythonchallenge.com/pc/def/oxygen.html
123-
```
123+
```python
124124
import zipfile
125125
```
126126
zip 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
132132
result: http://www.pythonchallenge.com/pc/def/channel.html
133-
```
133+
```python
134134
import pickle
135135
```
136136
every line elements add up to 96
137137

138138
#### 4
139139
result: http://www.pythonchallenge.com/pc/def/peak.html
140140

141-
```
141+
```python
142142
import requests
143143
```
144144
this is a http client lib with to do http request.

0 commit comments

Comments
 (0)