time for functions:
# a comment for very simple function
def countSheep(howMany)
counter = 0
while counter < howMany
counter = counter+1
print counter
print " – "
end
end
countSheep(9)
very, very simply writes numbers separated with '-' to output. one thing could be fixed at once: that '-' in the end doesn't look well. just add one if statement:
def countSheep(howMany)
counter = 0
while counter < [...]

