193k views
3 votes
What will be the answer of this python question with explanation?

for a in range(1,8,1):
print(a,a*a)

User AkshayT
by
7.7k points

1 Answer

6 votes

Answer:

The Python range() function returns a sequence of numbers, in a given range. The most common use of it is to iterate sequence on a sequence of numbers using Python loops.

Step-by-step explanation:

make me branliis list pls if you do then thx

User Vihana Kewalramani
by
8.2k points