prog8_41.py

squares = [n*n for n in range(1,11)]
print(squares)

# プログラム8-41(リストの内包表記)