Question: # QUESTION 3 : # Create a python program that will take four numbers from the user: # x 1 , Y 1 , x

# QUESTION 3:
# Create a python program that will take four numbers from the user:
# x1,Y1,x2, and Y2.
# Calculate Z=x2-x1Y2-Y1
# Print the result.
# Example:
# If the user enters 3,6,5, and 10, your program will print:
# "Result is 0.5"
# Write your code here:
x1 eval(input("Enter x1:
Y1= eval(input("Enter Y1: "))
x2= eval(input("Enter X2: "))
Y2= eval(input("Enter Y2: "))
Z=x2-x1Y2-Y1
 # QUESTION 3: # Create a python program that will take

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!