Ask your own question, for FREE!
Computer Science 59 Online
OpenStudy (anonymous):

Ok i need to make a programm..The program will be three separate tasks, they execute one after another within the same python source file. The output must match exactly as shown with all messages and spacing at the end of the function descriptions. I. Part one of the program, that is required to use a for loop to output a "NASA" countdown sequence. II. Part two of the program, that is required to use nested loops to generate exactly the triangle of o’s display. III. Part three of the program, add up a series (any number) of numbers entered by the user. Your loop requires the use of a sentinel to stop the loop when the user enters a value of zero. Then, display the total sum of the numbers entered.

OpenStudy (anonymous):

Needs to look like the example i attatched!

OpenStudy (rsmith6559):

What's your question? If it's overwhelming you, break it down into smaller problems. You can start by taking the directions and copying them into your program file. Split them into four sections: the first for the overall directions, and the others for the three sections of your program. Make them all comments. Leave the first alone, that's just commenting for the entire program. Then you can break these comments/directions down into sentences, into phrases, still as comments, but then you just need to write code to do a phrase which is much simpler. Then go back through and make sure that these "code phrases" work together nicely, first at the sentence level and then at the paragraph level and then overall. Voila!

OpenStudy (anonymous):

Man it is overwheling just lookin at it, I been looking at it all day and cant figure it out. Ok so first question i need to show the "NASA" sequence like i showed in the pic above , but requires i used a loop. How do i do that?

OpenStudy (woodrow73):

For basic questions like loops, duckduckgo/google is your friend. Look up the syntax for these kinds of things, and then test it out. This technique will take you very far. I'm not very good at python, but I think a loop goes like: ``` x = 0 for x in range(0, 11): print x ```

OpenStudy (anonymous):

alright, this stuff is like a foreign language to me and hard to grasp but I'm doing my best

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
Austinsbabygirl4life: Texas schools look funn
41 minutes ago 3 Replies 0 Medals
chuu: Is it (Hunt 30-31) or (Hunt 30-1) in MLA?
6 hours ago 0 Replies 0 Medals
luvnickk: what typa music yall listen to ?
7 hours ago 15 Replies 2 Medals
GothgirlLillian: Is music considered art?
7 hours ago 2 Replies 0 Medals
luvnickk: am newwww
11 hours ago 0 Replies 0 Medals
russianmafiya: can someone help me write a love song
12 hours ago 1 Reply 0 Medals
arrivhn: ADD ME ON DISCORD ICYAFFL
12 hours ago 4 Replies 1 Medal
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!