Computer Science, asked by nezanatasha, 1 year ago

answers to code practice 2.8 on edhesive

Answers

Answered by qgordon874
5

Answer: I got you 2.8 Code Practice: Question 2  thank me in comments or somethin.

Explanation:

lat = input("Enter lats: ")

lon = input("Enter lons: ")

lat_list = [float(s) for s in lat.split(',')]

lon_list = [float(s) for s in lon.split(',')]

print ("Farthest north = " + str(max (lat_list)))

print ("Farthest west =  " + str(max (lon_list)))

print ("Farthest south = " + str(min (lat_list)))

print ("Farthest east =  " + str(min (lon_list)))

Similar questions