Computer Science, asked by ParvSrivastava, 3 months ago

a=4 if a%2 ==0:
print(a, 'is even number')
else:
print(a, 'is odd number')​

Answers

Answered by alyssaparkcheon
4
There are a few errors in your program
- while printing it should be (a+”is an even number”)
- else doesn’t have semi colon
- the data type of a is not defined
Similar questions