Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commite014950

Browse files
start 31
1 parentb1ffcaa commite014950

File tree

3 files changed

+30
-0
lines changed

3 files changed

+30
-0
lines changed

‎31.py

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
fromPILimportImage
2+
fromPILimportImageSequence
3+
4+
5+
defmain():
6+
pic_path="ufo/mandelbrot.gif"
7+
first_step(pic_path)
8+
9+
10+
deffirst_step(input):
11+
im=Image.open(input)
12+
print(im.size)
13+
counter=0
14+
forframeinImageSequence.Iterator(im):
15+
counter+=1
16+
print(counter)
17+
width=640
18+
height=480
19+
forxinrange(width):
20+
foryinrange(height):
21+
print(im.getpixel((x,y)),end=" ")
22+
print()
23+
24+
25+
if__name__=="__main__":
26+
main()

‎README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
#pythonchallenge
22
Solve Problems inhttp://www.pythonchallenge.com
33

4+
####31
5+
- use firefox visit the url get the hint: island:country
6+
- username:kohsamui password:thailand
7+
48
####30
59
result:http://www.pythonchallenge.com/pc/ring/grandpa.html
610
```python

‎ufo/mandelbrot.gif

169 KB
Loading

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp