Computer Science, asked by youngmessiAR, 8 months ago

Spot and correct the errors in the following programs.(codes of Python)
1. Value=40
If Value>=25
print("Smaller Value)
print "Program Over"
2. A=10,B=20
if (15==A)
print("A=";A,"B=";B
3. 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 exam
don't spam
I will mark you as brainliest if you give correct answer

Answers

Answered by ridhimaray853
10

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)

Answered by Anonymous
2

Answer:

hope it's helpful ....

Explanation:

STUDY WELL

Attachments:
Similar questions