Question: Write a Python program that reads in two integer numbers from the user. The program displays if one number is the square of the other

Write a Python program that reads in two integer numbers from the user. The program displays if one number is the square of the other number or not. There are 3 possible outputs: - the first number is the square of the second number - the second number is the square of the first number - neither is the square of the other Then the program displays the ratio of the smaller number to the larger number (smaller/larger), formatted to 3 decimal places. You do not need to include any comments or worry about style. This program does not need to include function definitions. Focus on syntax and logic
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
