Question: Write a program that takes two numbers. Get the first number as an integer and the second one as a float number. Then, compute the
Write a program that takes two numbers. Get the first number as an integer and the second one as a float number. Then, compute the following expressions: number1//2, number1/number2, number1*number2, and 3**number2. Display the result and type of each expression. (Should use type function to get the type of each expression). This is python.
Input:
python C:\Users eda\DataProgramming\M2\assign2-3.py 17 12
Output:
Number1 is 17
Number2 is 12.0
17//2 = 8 ,
17/12.0 = 1.4166666666666667 ,
17*12.0 = 204.0 ,
3**12.0 = 531441.0 ,
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
