1
0
Fork 0
mirror of https://github.com/noerw/geo-dht synced 2025-07-11 07:00:20 +02:00
geo-dht/randomLocation.py
2019-08-07 17:54:47 +02:00

8 lines
180 B
Python

import random
def create_location():
longitude = round(random.uniform(-180.0, 180.0), 1)
latitude = round(random.uniform(-90.0, 90.0), 1)
return latitude, longitude