Javascript Create Number Array Python Example Elif