Jump to content

I 'm late to the party Re: episode 14


G+_Ant Pruitt
 Share

Recommended Posts

I'm late to the party. Re: episode 14. 

 

So Snubs showed her code of counting up from 10 to 50  incrementing by two. When she ran it, you could see the actual list of numbers incrementing. When I do this, i just get 50. Here's my code. Thoughts?  I appreciate the help.

 

print "count up starting from 10"

number = 10

while number<50:

     number = number+5

print number

 

raw_input("press enter to quit")

Link to comment
Share on other sites

 Share

×
×
  • Create New...