問題文

解答例1

import sys
print('\n'.join('Hello World! {0}'.format(i+1) for i in range(int(sys.argv[1]))))

解答例2

n = ここに代入
for x in range(n):
   print ("Hello World", x + 1)