0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

paizaラーニング「i番目の出力 2 Python3編」

Last updated at Posted at 2022-12-08

私の解答

K,L = map(int,input().split())
A = [[0] * 3 for _ in range(3)]
for i in range(3):
    A[i] = list(map(int, input().split()))
print(A[K-1][L-1])

解答例

values = input().split()
K = int(values[0])
L = int(values[1])

A = [[0] * 3 for _ in range(3)]
for i in range(3):
    values = input().split()
    for j in range(3):
        A[i][j] = int(values[j])

print(A[K - 1][L - 1])
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?