ERROR. The program took too long to finish


#1

for number in start_list:
start_list.append(number**2)
square_list.sort()
print square_list

I'm getting a message saying "ERROR. The program took too long to finish. Check your code for infinite loops and try again." I don't know what I did wrong please help!


More with for
#2

The list to append is square_list. Your code is setting up an infinite loop.


#3

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.