Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

python Task-5 Correct the mistakes in the following programme. Save the corrected code by copying and pasting it in the MS Word file. -input((Type a

python image text in transcribed
Task-5 Correct the mistakes in the following programme. Save the corrected code by copying and pasting it in the MS Word file. -input(("Type a number here: ") x-floatia) b=input("Type another number here: >> y = float(b) ifa >b: print("the number " + str(x)+"is bigger than the number" + stry)) elseif ab: print("the numbers are equal") else: print("the number " +str(x)+" is smaller than the number " + str{b}) Task-6 Write a programme that defines a function and calls it to print "lines followed by the text "Congratulations" concatenated with the name of any person taken as parameter passed to the function and the text you passed the examination!". Save the corrected code by copying and pasting it in the MS Word file. Task-7 A. Explain every step of the following programme in simple English under the task number in the MS Word file that you created earlier on Remember students need more than or equal to 60 marks out of 100 to pass the examination. theMarks -input("Enter passing marks in the final English examination out of maximum 100 - while(int(the Marks)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions