Question: Can I get some help for this python code? Thanks so much! You have recently been hired by Nintendo to write a program that calculates

Can I get some help for this python code? Thanks so much!Can I get some help for this python code? Thanks so much!

You have recently been hired by Nintendo to write a program that calculates the distance between two figures in Nintendo's latest iPhone/Android App, which is a version of Go. Your program should work as follows: 1. Ask the user for the name of the first avatar 2. Ask the user for the first avatar's X coordinate 3. Ask the user for the first avatar's Y coordinate 4. Ask the user for the name of the second avatar 5. Ask the user for the second avatar's X coordinate 6. Ask the user for the second avatar's Y coordinate 7. Print out the distance between the two avatar Here is a copy of the distance formula in case you haven't taken geometry in a while: d=/(x2-x)2 + (x2 - y)2 Below is a sample running of your program: ====== RESTART ====== avatar Distance Calculator 1. Enter name of first avatar: Zelda 2. Enter name of second avatar: Harry 3. Enter x coordinate of first avatar: 3.28 4. Enter y coordinate of first avatar: 2.258882 5. Enter x coordinate of second avatar: 3.923995 6. Enter y coordinate of second avatar: 3 The distance between Zelda and Harryis 0.98 inches. ====== RESTART ====== avatar Distance Calculator -- - - - - - - -- - - - - - - -- - 1. Enter name of first avatar: Zelda 2. Enter name of second avatar: Zenith 3. Enter x coordinate of first avatar: 5 4. Enter y coordinate of first avatar: 5 5. Enter x coordinate of second avatar: 5 6. Enter y coordinate of second avatar: 5 The distance between Zelda and Zenith 0.00 inches

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!