Input is 4, n is integer, comprehension list containing squares of integers from 1 till n^2,print list

前端 未结 0 1664
-上瘾入骨i
-上瘾入骨i 2021-01-18 15:52

You are given an integer \'n\'. Create a list comprehension containing the squares of the integers from 1 till n^2( including 1 and n), and print the list.

Example If

相关标签:
回答
  • 消灭零回复
提交回复
热议问题