LoginSignup
0
0

More than 1 year has passed since last update.

AtCOder たてなが

Posted at

問題

回答

h, w = map(int, input().split())

a = [input() for _ in range(h)]

for i in a:
    print(i) #2つのprint(i)で2倍を表す
    print(i) #

ポイント

単純に縦(h)に2倍、横(w)に一倍(つまりコードでは書かない)で出力する。

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