PHP:
$items = count($ara);Perl:
my $items = scalar(@ara);, you can also try: my $items = @ara;Python:
items = ara.__len__(). Note that in Python it's called list. List can be used as array.
$items = count($ara);my $items = scalar(@ara);, you can also try: my $items = @ara;items = ara.__len__(). Note that in Python it's called list. List can be used as array.
1 comments:
In Python, you would use:
items = len(myarray)
- Paddy.
Post a Comment