|
|
|
@ -33,14 +33,14 @@ elif (choice == '3'):
|
|
|
|
|
|
|
|
|
|
|
|
lat = input("\nType your latitude: ")
|
|
|
|
lat = input("\nType your latitude: ")
|
|
|
|
try:
|
|
|
|
try:
|
|
|
|
float(lat)
|
|
|
|
latitude = float(lat)
|
|
|
|
print("Valid number!")
|
|
|
|
print(latitude)
|
|
|
|
except ValueError:
|
|
|
|
except ValueError:
|
|
|
|
print("Not a number!")
|
|
|
|
print("Not a number!")
|
|
|
|
long = input("\nType your longitude: ")
|
|
|
|
long = input("\nType your longitude: ")
|
|
|
|
try:
|
|
|
|
try:
|
|
|
|
float(long)
|
|
|
|
longitude = float(long)
|
|
|
|
print("Valid number!")
|
|
|
|
print(longitude)
|
|
|
|
except ValueError:
|
|
|
|
except ValueError:
|
|
|
|
print("Not a number!")
|
|
|
|
print("Not a number!")
|
|
|
|
|
|
|
|
|
|
|
|
|