質問編集履歴

10

改善

2018/12/25 10:16

投稿

退会済みユーザー
test CHANGED
File without changes
test CHANGED
@@ -11,6 +11,20 @@
11
11
  または,変数tokens,tokens2を同時に使いたいです.
12
12
 
13
13
 
14
+
15
+ tokens2 tokens
16
+
17
+ rui1 gen1,hin1,katu1
18
+
19
+ rui2 gen2,hin2,katu2
20
+
21
+ rui3 gen3,hin3,katu3
22
+
23
+
24
+
25
+ という感じに,rui1,gen1,hin1,katu1を同時に扱って次のループでrui2,gen2,hin2,katu2を同時に扱いたいです.
26
+
27
+
14
28
 
15
29
  ### 発生している問題・エラーメッセージ
16
30
 

9

修正

2018/12/25 10:16

投稿

退会済みユーザー
test CHANGED
File without changes
test CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
 
4
4
 
5
- pythonで,1つ目のfor文と2つ目のfor文を並列に処理したいです
5
+ pythonで,1つ目のfor文と2つ目のfor文を並列に処理したいです
6
6
 
7
7
  具体的には,コードにあるtokens2のruiという情報と,tokensのgen,hin,katuを同時に1つずつ使いたいです.
8
8
 

8

修正

2018/12/25 10:09

投稿

退会済みユーザー
test CHANGED
File without changes
test CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
 
4
4
 
5
- pythonで,1つ目のfor文と2つ目のfor文を並列に処理したいです
5
+ pythonで,1つ目のfor文と2つ目のfor文を並列に処理したいです
6
6
 
7
7
  具体的には,コードにあるtokens2のruiという情報と,tokensのgen,hin,katuを同時に1つずつ使いたいです.
8
8
 

7

修正

2018/12/25 10:05

投稿

退会済みユーザー
test CHANGED
@@ -1 +1 @@
1
- python:for文で一度に二つの引数を使いたい
1
+ python:for文で一度に二つの引数を使いたい
test CHANGED
File without changes

6

誤字

2018/12/25 09:56

投稿

退会済みユーザー
test CHANGED
@@ -1 +1 @@
1
- python:入れ子のfor文で,一度に二つの引数を使いたい
1
+ python:for文で,一度に二つの引数を使いたい
test CHANGED
File without changes

5

修正

2018/12/25 09:43

投稿

退会済みユーザー
test CHANGED
File without changes
test CHANGED
File without changes

4

修正

2018/12/24 10:54

投稿

退会済みユーザー
test CHANGED
File without changes
test CHANGED
@@ -5,6 +5,10 @@
5
5
  pythonで,1つ目のfor文と2つ目のfor文を並列に処理したいです.
6
6
 
7
7
  具体的には,コードにあるtokens2のruiという情報と,tokensのgen,hin,katuを同時に1つずつ使いたいです.
8
+
9
+
10
+
11
+ または,変数tokens,tokens2を同時に使いたいです.
8
12
 
9
13
 
10
14
 

3

修正

2018/12/24 10:50

投稿

退会済みユーザー
test CHANGED
@@ -1 +1 @@
1
- python:入れ子のfor文で,二つの引数を使いたい
1
+ python:入れ子のfor文で,一度に二つの引数を使いたい
test CHANGED
@@ -70,6 +70,12 @@
70
70
 
71
71
 
72
72
 
73
+ ###試したこと
74
+
75
+ zip関数というものがあったのですが,リストにしか使えず,詰まりました.
76
+
77
+
78
+
73
79
 
74
80
 
75
81
  ### 補足情報(FW/ツールのバージョンなど)

2

修正

2018/12/24 10:31

投稿

退会済みユーザー
test CHANGED
@@ -1 +1 @@
1
- python:入れ子のfor文で,二つのfor文一回ずつ回したい
1
+ python:入れ子のfor文で,二つの引数使いたい
test CHANGED
File without changes

1

修正

2018/12/24 10:30

投稿

退会済みユーザー
test CHANGED
File without changes
test CHANGED
@@ -56,6 +56,10 @@
56
56
 
57
57
  s = s.replace(gen,base1)
58
58
 
59
+        
60
+
61
+ base2 = convert(hin,rui,katu)
62
+
59
63
 
60
64
 
61
65
  with open('test.csv', mode="w") as f: