appacademy / prep-work

preparatory material for interviewing with App Academy
291 stars 339 forks source link

Update 01-factorial.rb #57

Closed bistacos closed 9 years ago

bistacos commented 9 years ago

Simplified result = result * n to result *= n

vveleva commented 9 years ago

The simplification could make things difficult for beginners. Let's not change it.