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

Commitfdce8ec

Browse files
committed
Removed unneeded items.
1 parentcb5e8e8 commitfdce8ec

File tree

2 files changed

+9
-40
lines changed

2 files changed

+9
-40
lines changed

‎experiments/ipython/First.ipynb

Lines changed: 9 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"cells": [
33
{
44
"cell_type":"code",
5-
"execution_count":6,
5+
"execution_count":7,
66
"metadata": {
77
"collapsed":false
88
},
@@ -11,14 +11,14 @@
1111
"name":"stdout",
1212
"output_type":"stream",
1313
"text": [
14-
"321\n"
14+
"560\n"
1515
]
1616
}
1717
],
1818
"source": [
1919
"import random\n",
2020
"\n",
21-
"print(random.randint(1, 600))\n"
21+
"print(random.randint(1, 600))"
2222
]
2323
},
2424
{
@@ -28,25 +28,9 @@
2828
"collapsed":true
2929
},
3030
"outputs": [],
31-
"source": []
32-
},
33-
{
34-
"cell_type":"code",
35-
"execution_count":null,
36-
"metadata": {
37-
"collapsed":true
38-
},
39-
"outputs": [],
40-
"source": []
41-
},
42-
{
43-
"cell_type":"code",
44-
"execution_count":null,
45-
"metadata": {
46-
"collapsed":true
47-
},
48-
"outputs": [],
49-
"source": []
31+
"source": [
32+
""
33+
]
5034
}
5135
],
5236
"metadata": {
@@ -58,7 +42,7 @@
5842
"language_info": {
5943
"codemirror_mode": {
6044
"name":"ipython",
61-
"version":3
45+
"version":3.0
6246
},
6347
"file_extension":".py",
6448
"mimetype":"text/x-python",
@@ -69,5 +53,5 @@
6953
}
7054
},
7155
"nbformat":4,
72-
"nbformat_minor":1
73-
}
56+
"nbformat_minor":0
57+
}

‎experiments/text-fix.py

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -4,21 +4,6 @@
44
defmain():
55
print(ftfy.fix_encoding('주문하다 - to intent for?'))
66

7-
runs=0
8-
9-
start=1
10-
stop=6
11-
step=1
12-
13-
# not totally accurate - at least one iteration when stop > start
14-
iterations= (stop-start)//step
15-
16-
foriinrange(start,stop,step):
17-
runs+=1
18-
19-
print(runs)
20-
print(iterations)
21-
227

238
if__name__=='__main__':
249
main()

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp