#-*- coding: utf-8 -*- # python x = 1 while x <= 9: print x x += 1
http://docs.python.org/reference/compound_stmts.html#while
#-*- coding: utf-8 -*- # ruby x = 1; while x <= 9 do p x x += 1 end
#-*- coding: utf-8 -*- # perl $x = 1; while ($x <= 9) { print $x, "\n"; $x++; }blog comments powered by Disqus