Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

# 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
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions

Question

5. Have you any experience with agile software development?

Answered: 1 week ago