You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
222 B
11 lines
222 B
3 years ago
|
from faker import Faker
|
||
|
from faker.providers import geo
|
||
|
from faker.providers import company
|
||
|
|
||
|
|
||
|
faker = Faker("en_US")
|
||
|
faker.add_provider(geo)
|
||
|
print(faker.longitude())
|
||
|
print(faker.latitude())
|
||
|
print(faker.location_on_land())
|