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
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
Science,
1 month ago
English,
1 month ago
Math,
2 months ago
Social Sciences,
2 months ago
Math,
9 months ago
History,
9 months ago
Social Sciences,
9 months ago