python code : your friends in the computer science department have

 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

Order a unique copy of this paper
(550 words)

Approximate price: $22

Basic features
  • Free title page and bibliography
  • Unlimited revisions
  • Plagiarism-free guarantee
  • Money-back guarantee
  • 24/7 support
On-demand options
  • Writer’s samples
  • Part-by-part delivery
  • Overnight delivery
  • Copies of used sources
  • Expert Proofreading
Paper format
  • 275 words per page
  • 12 pt Arial/Times New Roman
  • Double line spacing
  • Any citation style (APA, MLA, Chicago/Turabian, Harvard)

Our guarantees

Delivering a high-quality product at a reasonable price is not enough anymore.
That’s why we have developed 5 beneficial guarantees that will make your experience with our service enjoyable, easy, and safe.

Money-back guarantee

You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.

Read more

Zero-plagiarism guarantee

Each paper is composed from scratch, according to your instructions. It is then checked by our plagiarism-detection software. There is no gap where plagiarism could squeeze in.

Read more

Free-revision policy

Thanks to our free revisions, there is no way for you to be unsatisfied. We will work on your paper until you are completely happy with the result.

Read more

Privacy policy

Your email is safe, as we store it according to international data protection rules. Your bank details are secure, as we use only reliable payment systems.

Read more

Fair-cooperation guarantee

By sending us your money, you buy the service we provide. Check out our terms and conditions if you prefer business talks to be laid out in official language.

Read more

Calculate the price of your order

550 words
We'll send you the first draft for approval by September 11, 2018 at 10:52 AM
Total price:
$26
The price is based on these factors:
Academic level
Number of pages
Urgency