Answer:
The function in Python3 is as follows
def Distance(x1, y1, x2, y2):
dist = ((x1 - x2)**2 +(y1 - y2)**2)**0.5
return dist
Explanation:
This defines the function
def Distance(x1, y1, x2, y2):
This calculates distance
dist = ((x1 - x2)**2 +(y1 - y2)**2)**0.5
This returns the calculated distance to the main method
return dist
The results of the inputs is:
[tex]32, 32, 54, 12 \to 29.73[/tex]
[tex]52,56,8,30 \to 51.11[/tex]
[tex]44,94,44,39\to 55.00[/tex]
[tex]19,51,91,7.5 \to 84.12[/tex]
[tex]89,34,00,00 \to 95.27[/tex]
NEED HELP IMMEDIATELY!!
What is the difference between a worm and a typical virus?
A) Worms are a type of spyware; viruses are a type of malware.
B) Worms are impossible to remove; viruses can be tracked and removed.
C) Worms are stronger than viruses; viruses are stronger than spam.
D) Worms travel independently of human action; viruses require human actions.
Answer:
Option C
Explanation:
Option A is incorrect as Worm is a form of malware
Option B is incorrect because antivirus can remove all forms of malware
Option C is correct because a worm is more problematic as compared to the virus. Also, viruses are weaker than worm because they need a host file to run but a worm can work independently.
Option D is also incorrect because both are able to self replicate.