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 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
Get step-by-step solutions from verified subject matter experts
