Question: Write a python program to get two float inputs from the user and do the following: . If two numbers are same, calculate the z=x

 Write a python program to get two float inputs from the
user and do the following: . If two numbers are same, calculate

Write a python program to get two float inputs from the user and do the following: . If two numbers are same, calculate the z=x modulus y . If both the numbers are even, calculate the z= x . If both are positive, calculate z=x/y on Otherwise display "Try again Consider the following python program and write the output str="operating systems" print(str[5:1) print(str[2:1) print(str[0:12]) print(str[:])

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!