I'm writing this to track back what I was thinking while I was solving this part. Some steps are easy to follow, but some are not, while instructions are written simply and easy. I am curious why I can't understand certain instruction, and trying to share the course of my thoughts.
I got stuck at 9. More with "for"
start_list = [5, 3, 1, 2, 4] square_list =  # Your code here! for number in start_list: square_list.append(number**2) square_list.sort() print square_list
because I thought I cannot mention name of another list in one list.
I tried to figure out how to combine two lists at the same time without like above.
I saw the right answer by others' Q&A.
Is it just me? If you stuck here, why were you? ( I think reviewing like this helps me to learning it.)
I repeatedly practiced it and it didn't work.
My code was like below.
A_list = [ "1", "4", "5", "6", "7"] B_list = [ ] for number in A_list: B_list.append(number**2) B_list.sort() print B_list
Can you see why it didn't work?
But the next code worked.
A_list = [ 1, 4, 5, 6, 7] B_list = [ ] for number in A_list: B_list.append(number**2) B_list.sort() print B_list
(It may seem a very easy and simple to more advanced ppl) My mistake here was that I didn't write the right type of values in the list. To make number**2 possible, it should be in the form of number, but I put "", and made it as strings.