Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
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 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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started