THIS IS PYTHON QUESTION
d = math.sqrt(math.pow(player.xcor() - goal.xcor(), 2) + math.pow(player.ycor()-goal.ycor(), 2))

here is the error message that I am getting when I run this using the math module in python: TypeError: type object argument after * must be an iterable, not int

Answers

Answer 1

Answer:

ok

Explanation:yes


Related Questions

Mrs Jones had p hens then she decided to buy p more hens. how many hens does she have in all?​

Answers

Answer:

2p

Explanation:

if she had p, then she got p again, she got two p amounts. p+p = p*2 = 2p

1. Discuss data processing concepts and the representation of data in the computer


2. Explain how they work together to process data

Answers

Answer:

gkvjbdsvjnmfbhui jgbfdshjcxvabgsuciusgBFIULWGSfuRyt vqwyrgfgweVGYGTV7BWUIEGDWYUGDCYg

Explanation:

1) An employer has decided to award a weekly pay raise to all employees by taking the square root of the difference between his weight and the employee’s weight. For instance, an employee who weighs 16 pounds less than the employer will get a $4 per week raise. The raise should be in whole dollars (an int). Write a class file that prompts the user for the employee and the employer weight. Please output the correct raise amount making sure that all inputs are included in the output statement.

Answers

Answer:

Written in C++

#include <iostream>

#include<cmath>

using namespace std;

int main(){

   int weight1, weight2, diff;

   cout<<"Employees Weight: ";

   cin>>weight1;

   cout<<"Employers Weight: ";

   cin>>weight2;

   diff = abs(weight1 - weight2);

   float pay = round(sqrt(diff));

   cout<<pay;

   return 0;

}

Explanation:

I've added the source file as an attachment where I used comments as explanation

Other Questions
Anything Needs To Be Fixed ? a red candle is 8 inches tall and burns at a rate of 7/10 inches per house a blue candle is 6 inches tall and burns at the rate of 1/5 inches per hour after how many hours willl both candles be the same height? ~ASAP HELP PLS THIS IS DUE IN A FEW HOURS!!~ Who was chosen to write the first draft of the Declaration of Independence What are good examples of sensory details? A line segment has endpoints (4, 7) and (1, 11). What is the length of the segment? Helps me solve this problem please 12 and 14 .The quantities xxx and yyy are proportional.xxx yyy 444 101010555 12.512.512, point, 5101010 252525Find the constant of proportionality (r)(r)left parenthesis, r, right parenthesis in the equation y=rxy=rxy, equals, r, x.r =r=r, equals Which phrase describes a metamorphic rock?O formed from a volcanoO was once buried undergroundO formed from evaporating waterO contains minerals that have not changed A copper wire is composed of billions of copper units. In this case, the copper in the wire is a(n) __________.A. atomB. moleculeC. compoundD. mixtureE. element 3 points determine exactly one plane: true or false? a student drops a tennis ball from rest. the ball falls 13m to the ground.find the final speed of the ball,just before it reaches the ground Find the missing value so that the line passing through the points has the given slope (10,y) and (3,4) m= -2/7 SOMEONE PLEASE HELP ME QUICKLY HELP ME !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Which of the following is NOT an ethical guideline for experimentation established by the American Psychological Association? a) Animals should be used in experimental procedures instead of humans. b) The experimenter has an obligation to minimize physical and/or mental risks to subjects. c) Any information about a participant must be kept confidential. d) Subjects have the right to stop participation at any time during the experiment. Rearrange to make a the subject:v=u+at 5/16=x/64 what is x. in what ways is ATP like a fully charged battery? SPANISHHHH SEPAKERSSSSSSSSSSSS What is X? I'm too lazy to do math today...