Question: Create a Python code that 1. assigns the value 3 to variable x. 2. assigns the value 2.6 to variable y. 3. has an if
Create a Python code that 1. assigns the value 3 to variable x. 2. assigns the value 2.6 to variable y. 3. has an if statement that compares x and y and prints out the value of the exponential at the smaller of x and y. 4. or if x and y are equal then it prints out the word "equal". Do not try to shorten the if statement with some tricks. Just write down a simple if/eliffelse statement
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
