Ask your own question, for FREE!
MIT 6.189 A Gentle Introduction to Programming Using Python (OCW) 10 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!
Latest Questions
Arriyanalol: i need help
18 hours ago 7 Replies 1 Medal
Arriyanalol: CONGRATS to me
21 hours ago 8 Replies 2 Medals
Legomaster346: What colleges are good that are near Arab Alabama?
1 week ago 5 Replies 0 Medals
Arriyanalol: i need help
1 week ago 6 Replies 2 Medals
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!