Javascript Return Array From Function In Python Geeks