Computer Science, asked by meenaljoshiindo694, 1 year ago

Write a program to compute distance between two points taking input from the user in python

Answers

Answered by HelpingHeart
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