How To Generate A Random Code In Python