Javascript Find Max Value In Array In Python Syntax For User