mirror of
https://github.com/noerw/geo-dht
synced 2025-07-11 07:00:20 +02:00
8 lines
180 B
Python
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
|