Python Help for Homework due tomorrow?

Heres my code for a science project tomorrow. I have made a few mistakes which I now need help with. At the start of the program you could either choose y or n I just realized now if you pick n then it completely disregards the answer and still continues while it should have ended the program and said "im going to flip you over new jersey style" sadly that didnt work. And another thing im stuck at for quest #3 I don't know where to go on they are over the mountain but I want them to fall into the water but I put my options into a print and i'm not sure of the quickest way to get raw input that way please fix my code, and give me a explanation so I can fix this at a earlier date. print ("You are a very small raindrop in a big big world") print ("Your goal is too enter into a animals mouth but do not subliminate by any means") quest1 = raw_input ("This is possible, but it wont be easy are you up for the task? y or n ") if quest1 == "y": print 'Thanks Bro, It means a lot too me.' print " You are in a world, with lots of obstacles. This world consists of Clouds, Trees, Animals, Oceans, Watch out for Geysers. And worst of all one mountain where that one human boy lies across. No cars can get through, Animals may die so take the risk if necessary. You must get through this mountain to get to that little boy with a thirsty mouth" quest2 = raw_input ("You start off as a gas known as vapor. You have a few options, Your commands are to 'Wait', and to 'Percipitate'.").lower() if quest2 == "wait": print "You are blown off course by a rogue wind. You are now hovering over the mountain. Good Job you are now half way there." quest3 = raw_input("You are now over the mountain, What next? Or were you not thinking.(Options are to either, Condense or Wait some more.").lower() if quest3 == "wait": print "Well you just blew a half an hour and now you are still over the same mountain. The kid is really thirsty and he hates you." if quest3 == "condense": print "You are now a raindrop falling down about 300km/h, you are about to touch the ground. And splat with all your molecules and atoms will go all over the place.(options go left, or go right, or wait." if quest2 == "precipitate": print "Great Job, now you are now on the ground. Well you weren't planning this through, whats next?" if quest1 == "n": print 'Jerk im going to flip you over, new jersey style!'

Asked By: - 11/19/2012
Best Answer - Chosen by Asker
You need the if A then B else C construct for the program flow control. If I'm late for school - I ride my bike. else - I walk. If quest1 is 'n' - then say something and quit elsif quest1 is 'y' - say 'thanks bro' else - ask quest1 again
Answered By: Todd - 11/19/2012
Additional Answers (0)
Sponsored results
Over 483 Local Jobs Now Hiring In Your Area. $18-$87/Hr - Apply Today!
Click. Search. Apply. Free!
Earn residual on products and services customers uses daily at home.
Jobs hiring near your local area. Part-time, Full-time, Work at home.

Other Career Questions

What is your current job? Why did you choose this job? What do you enjoy about your job? What do you dislike about your job? What would be your perfect job? Would you rather have this j...
3 answers - Asked By: drop pants not bombs!.♥ - 3/2/2010
Where are the jobs? Is productivity and globalization creating a permanent “recession” of jobs? My main issue is I am doing a paper for school and have no idea where to begin. I was hoping suggestions...
4 answers - Asked By: bayebd24【ツ】 - 11/21/2007
Hi ok im 19 and about to start college to do an acess course into a university. Ive been browsing through all the courses and im tottaly stuck! I thought politics but im scared ill end up with some r...
1 answers - Asked By: roseparkerly - 1/26/2009

Content is not owned or controlled by Monster. Any content concerns should be addressed with Yahoo!
Yahoo! Does not evaluate or guarantee the accuracy of any Yahoo! Answers content. Yahoo! Disclaimer.

Popular Articles

Best-Paying Work-from-Home Jobs Article Rating
It’s easier than ever to work from home. Of course, not every job is a mobile job, and some companies aren’t interested in having their employees work from home.
2013 Marketing Jobs Outlook Article Rating
The US may be facing another year of anemic hiring overall, but that won't be the case in the high-orbit world of multichannel, digital media marketing.
For Employers: Post Jobs | Search Resumes | Advertise
About Monster | Work for Monster | Advertise with Us | AdChoices | Partner with Us | Investor Relations | Social Media
Terms of Use | Privacy Center | Accessibility Center | Help | Security | Contact Us | Sitemap | Mobile
©2014 Monster - All Rights Reserved U.S. Patents No. 5,832,497; 7,599,930 B1; 7,827,125 and 7,836,060 MWW - Looking for Monster Cable? - V: 2014.1.40.24-302