Ask your own question, for FREE!
MIT 6.189 A Gentle Introduction to Programming Using Python (OCW) 14 Online
OpenStudy (anonymous):

how to make a flow chart for a program that will display the square of the numbers 1-10?

OpenStudy (anonymous):

let x be the number to be squared start with x = 1 while x is less than 11: print square of x increase x by 1

OpenStudy (anonymous):

My personal preference would be to use a for loop if the loop is bounded: for n in range(start_num, end_num + 1): print n squared In this case, start_num would be 1 and end_num would be 10. n is the variable that iterated from start_num to end_num.

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!