i = 0 while i <= 100 sleep 1 print "\b"*i.to_s.length print i i = i+1 end