title: Taking input for distance calculation
body: <p>I have to make a program to calculate the distance between two points but I want it to be more good, I want the program should take input like this 
  Enter two value for first distance:(2,2) I want to take inputs 2 numbers but in brackets and a comma between them, Thank you.</p>
  
  <pre><code>while True:
      try:
          x1,x2 =int(input(f"Enter two value for first distance:")).split()
      except ValueError:
          print("\nPlease enter only number distance points")
      else:
          break
  while True:
      try:
          y1,y2 =int(input("Enter two value for second distance:")).split()
      except ValueError:
          print("\nPlease enter only number")
      else:
          break
  
  import math
  distance = math.sqrt( ((p1[0]-p2[0])**2)+((p1[1]-p2[1])**2))
  </code></pre>