Computer Science, asked by ParvSrivastava, 3 months ago

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

Answers

Answered by adarsh4u218
2

Answer:

a = 4

if a%2

# '%' denoted modulo operator , It returns remainder

a = 4

b = a%2

if a%2= 0

print(a,"is a odd number")

if  a%2≠0

print(a,"is a even number")

Similar questions