a
    If                     @   s&   d dl Z d dlZe d dd ZdS )    Nzhttps://xkcd.com/353/c                 C   s`   t j|dd }dd |dd |dd fD \}}td| |d	d ||d	d f  dS )
zCompute geohash() using the Munroe algorithm.

    >>> geohash(37.421542, -122.085589, b'2005-05-26-10458.68')
    37.857713 -122.544543

    F)Zusedforsecurityc                 S   s   g | ]}d t d|  qS )z%fz0.)floatfromhex).0x r   lib/python3.9/antigravity.py
<listcomp>       zgeohash.<locals>.<listcomp>N       z	%d%s %d%s   )hashlibZmd5Z	hexdigestprint)ZlatitudeZ	longitudeZdatedowhpqr   r   r   geohash   s    &r   )Z
webbrowserr   openr   r   r   r   r   <module>   s   
