Write a program to compute distance between two points taking input from the user in python
Answers
Answered by
0
Codings:
s=int(input("enter the speed(in m/s)"))
t=int(input("enter the time(in sec.)"))
d=s*t
print("The distance between two points is ",d, "m")
Output:
enter the speed(in m/s)10
enter the time(in sec.)5
The distance between two points is 50m
Hope this helps you!
Similar questions
Math,
7 months ago
Computer Science,
1 year ago
English,
1 year ago
English,
1 year ago
History,
1 year ago