Ask your own question, for FREE!
Computer Science 10 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
Countless7Echos: Ah trying out the whole T.V girl drawing :p (I love drawing eyes)
3 hours ago 11 Replies 6 Medals
kaelynw: starting to draw a hand
3 days ago 16 Replies 2 Medals
Twaylor: Rate it :D (Took 2 days)
3 days ago 7 Replies 0 Medals
XShawtyX: Art, Short Writing Assignment: Imagining Landscapes
1 day ago 7 Replies 1 Medal
XShawtyX: Chemistry, Help ud83dude4fud83cudffe
4 days ago 13 Replies 1 Medal
kaelynw: tried a lil smt, the arm is off but i like the other stuff
4 days ago 27 Replies 3 Medals
kaelynw: art igg
4 days ago 14 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!