write a python function to create a print a list where the values are square of number between 1 and 3 (both included )
Answers
Answered by
1
Answer:
hi...
Explanation:
def sqlist():
list=[]
for i in range(1,4):
s= i**2
list.append(i)
return(list)
#main
print(sqlist ())
hope it helps you ☺️
Similar questions
English,
2 months ago
Chemistry,
2 months ago
Math,
5 months ago
Business Studies,
5 months ago
Math,
9 months ago
Math,
9 months ago
Political Science,
9 months ago