[[問題文>練習問題#eb2c4338]] 回答(例1 解答例1 import sys print '\n'.join('%s %d' % ('Hello World!', i+1) for i in xrange(int(sys.argv[1]))) print('\n'.join('Hello World! {0}'.format(i+1) for i in range(int(sys.argv[1])))) 回答(例2 解答例2 n = ここに代入 for x in range(n): print ("Hello World", x + 1)