ForNext
Only Do What Only You Can Do
116. membership
Hyperpolyglot Interpreted Languages: PHP, Perl, Python, Ruby より (2012.05.08)
VBScript
JScript
Perl
7 ~~ @a
PHP
in_array(7, $a)
Python
7 in a
Ruby
a.include?(7)
7 ~~ @a
in_array(7, $a)
7 in a
a.include?(7)