QUESTION DESCRIPTION
Write a program to find the range of squares using List
Input:
1. The Lower range
2 The upper range
Output:
The square of upper and lower number using list
Write a program to find the range of squares using List
Input:
1. The Lower range
2 The upper range
Output:
The square of upper and lower number using list
a=int(input())
b=int(input())
l=[]
for i in range(a,b+1):
a=(i,i*i)
l.append(a)
print(l)
Comments
Post a Comment