Computer Science, asked by sarinsergiev, 4 months ago

Rewrite the following python program after removing all the syntactical errors, underline each correction:
A=input(“Enter the number”) if x%2=0:
print x, “is even”
else if x<0:
print x, “Should be positive” else
print x,”is odd”

Answers

Answered by RuwaisnZaid
3

Explanation:

A = input ("enter no")

if A%2=0:

print(A,"is even")

elif if x<0:

print(A,"should post")

print(A,"is odd)

Similar questions