Iterating Through Array Javascript Documentation Parseint In Python