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
Math,
1 month ago
Math,
3 months ago
Social Sciences,
3 months ago
Math,
10 months ago
History,
10 months ago
Social Sciences,
10 months ago