# hw 2 blastoff

 0 Hello. This is my first post. Checking to see if there was an error in grading this code. I posted my code below. I know I used an extra If statement and my while condition is different but it works. Hopefully it was in error. Getting 1 question wrong is detrimental to overall homework grade. :^/  def countdown(number): while number != 0: print number number = number - 1 if number == 0: print "Blastoff!!!"   asked 08 Mar '12, 08:59 Sam Vega 18●3 accept rate: 0% Angel 7.0k●6●32●112

 1 Maybe to many exclamation marks!!! ;) answered 08 Mar '12, 09:01 dreyescat 6.9k●16●34●82 @dreyescat: Good one, I was looking at it for more than minute without realizing that... :) @samv: It is very important to do exactly as the assignment says - read it more than once and when you are done, check that you have done what they wanted you to do. (08 Mar '12, 09:06) Marek Bálint @mareq: so i have it wrong because i used too many exclamation points? :^/ (08 Mar '12, 09:08) Sam Vega
 1 Have a look at this please answered 08 Mar '12, 09:05 Angel 7.0k●6●32●112
 0 well the if clause is really redundant, but the grading bot won't notice :-) answered 08 Mar '12, 09:02 Andreas Brecht 1.1k●3●17
Question text:

Markdown Basics

• *italic* or _italic_
• **bold** or __bold__
• image?![alt text](/path/img.jpg "Title")
• numbered list: 1. Foo 2. Bar
• to add a line break simply add two spaces to where you would like the new line to be.
• basic HTML tags are also supported

×15,358
×74
×69