Question: Write a python program to accept a number and o if the number is even calculate Z=x modulus y, If number is positive calculate Z=x
Write a python program to accept a number and o if the number is even calculate Z=x modulus y, If number is positive calculate Z=x to the power y If number is in between 1 and 10 calculate Z=(x+y)/2 If the number is equal to calculate division of two numbers by removing decimal. o Otherwise display Wrong input Write a python program to accept 2 numbers, o if two numbers are same calculate Z=a2+b?, if modules of two number is equal to calculate Z= (2a5+3b5)/3b, o if both the numbers are even calculate Z= (a+b)/(a+b), o otherwise display Wrong Choice. zero
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
