ForNext
Only Do What Only You Can Do
162. statement modifiers
Hyperpolyglot Interpreted Languages: PHP, Perl, Python, Ruby より (2012.05.08)
VBScript
JScript
Perl
print "positive\n" if $i > 0; print "nonzero\n" unless $i == 0;
PHP
none
Python
none
Ruby
puts "positive" if i > 0 puts "nonzero" unless i == 0