InterviewSolution
Saved Bookmarks
| 1. |
Spot and correct the errors in the following programs.(codes of Python)1. Value=40If Value>=25print("Smaller Value)print "Program Over"2. A=10,B=20if (15==A)print("A=";A,"B=";B3. input('Entera number',A)Print ('The number is' A)4. Num1=input()Num2=int(input())print("A=";A,"B=";B)print(Num 1+Num2)plz ans it tomorrow is my examdon't spamI will mark you as brainliest if you give correct answer |
|
Answer» Answer: 1. value=40 if value>=25 print("smaller over") else: print("program over") 2. A=10,B=20 if 15==A print ("A=";"B=";B) 3. INPUT=inter(input ("ENTER number A)) print ("The number is A) 4. Num1=int(input ("enter the number 1)) Num2=int(input ("enter the number 2)) Num1+Num2=Num1+Num2 print("sum is ",Num1, "+", Num2" in", Num1+Num2) |
|