Hi,I'm a python beginner.i'd like to know how to get the inputs from user to this simple question
Write a program to find the distance, d, between points A and B
where the positions of A and B are specified by the Cartesian coordination of (x1, y1) and (x2, y2), respectively.
Enter the first point: 1 1
Enter the second point: 5 5
The distance between (1, 1) and (5, 5) is 5.66.
actually the calculation is easy but i don't know how to get the inputs from user
is there anyway to get multiple inputs in one line ?
any one please help, thanks
Last edited by Mekire
on Sat Nov 23, 2013 10:05 am, edited 1 time in total.
Reason: First post lock. Please Read "New Users Read This"