Question: python Task-1 Write a programme to take two inputs of two different numbers (float) from the user pointed at by two variables x and y
Task-1 Write a programme to take two inputs of two different numbers (float) from the user pointed at by two variables x and y respectively. Add the numbers and have the result in the variable z. Print the text "The total of two numbers is concatenated with the sum of the numbers y" after changing it by 'str' into string form. Task-2 Correct the following programme. Save the corrected code by copying and pasting it in the MS Word file. X-int(input("please enter an integer value :") Y = int(input("Please enter another integer value: ") a = int(x) b = int(y) za%x print(2) Task-3 Use the corrected code in Task-2, edit the code to multiply the two input values and then print the result of the multiplication. Save the corrected code by copying and pasting it in the MS Word file. Task-4 Use the code in Task-3, edit it then to find the value x to the power y and then print the result of the exponentiation. Save the corrected code by copying and pasting it in the MS Word file
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
