2023 Python code Question Your friends in the Computer Science department have been complaining to you that DC is | Assignment Collections
Computer Science 2023 Python Code : Your Friends In The Computer Science Department Have Been Complaining To You That DC Is Confusing To Get Around. Due To The High Cost Of Their Mobile Plan’s Data Rates, They Can’t Use Map Programs Like Apple Maps Or Google Maps. They’ve Ask
2023 Python code Question Your friends in the Computer Science department have been complaining to you that DC is | Assignment Collections
Python code
Question: Your friends in the Computer Science department have been complaining to you that DC is confusing to get around. Due to the high cost of their mobile plan’s data rates, they can’t use map programs like Apple Maps or Google Maps. They’ve asked you to build a program that tells users where in DC they are compared to some landmarks that they know. Your task is
This problem has been solved!
Your friends in the Computer Science department have been complaining to you that DC is confusing to get around. Due to the high cost of their mobile plan’s data rates, they can’t use map programs like Apple Maps or Google Maps. They’ve asked you to build a program that tells users where in DC they are compared to some landmarks that they know. Your task is to build a program which tells user’s their relative location to some set places. You should:
- Ask the user to input their latitude and longitude.
- Tell the user if they are North of K St. or South of it.
- If they are North of the White House print “You are north of the White House”. If they are south of the white house print “You are south of the White House”. If they are neither, don’t print anything.
- If they are west of the White House print “You are north of the White House”. If they are south of the white house print “You are south of the White House”. If they are neither, don’t print anything.
- Do the same thing with Downing Hall, Dupont Circle, and Union Station
Use the table below as reference:
Place
Latitude, Longitude
K St (Runs east to west)
38.902649
The White House
38.897789, -77.036562
Downing Hall
38.921669, -77.021361
Dupont Circle
38.909760, -77.043479
Union Station
38.897698, -77.007200
Your code should look like this (user input is for Greene Stadium and is in bold):
Insert your latitude: 38.9255998
Insert your longitude: -77.0234159
You are north of K St
You are north of the White House
You are east of the White House
You are north of Downing Hall
You are west of Downing Hall
You are north of Dupont Circle
You are east of Dupont Circle
You are north of Union Station
You are west of Union Station
We give our students 100% satisfaction with their assignments, which is one of the most important reasons students prefer us to other helpers. Our professional group and planners have more than ten years of rich experience. The only reason is that we have successfully helped more than 100000 students with their assignments on our inception days. Our expert group has more than 2200 professionals in different topics, and that is not all; we get more than 300 jobs every day more than 90% of the assignment get the conversion for payment.