Random Position generator within a regular Hexagon

Python code to be transfered to the main code for generating random locations.
Will be fun to implement completely in C++.