Python Choose Random Value From Array Php Format