Computer Science, asked by sstanu76, 1 day ago

S=8 S% 2==0:
print(s,'is an even number')
else:
print(s,'is an odd number')
what is the output

Answers

Answered by sdp3076
1

Answer:

Explanation:

the synatax u used is a bit wrong

the correct syntax is :

S=8

if S% 2==0:

   print(S,'is an even number')

else:

   print(S,'is an odd number')

as 8 is an even number,so ,the output is :

   8 is an even number

Hope this helps you bro

pls mark as brainliest

thanks :)

Similar questions