My issue
My code
a=5
c=3
b=(a+c)/2
if b%2 == 0:
print(b)
else :
print(-1)
Learning course: Solve Programming problems using Python
Problem Link: CodeChef: Practical coding for everyone
a=5
c=3
b=(a+c)/2
if b%2 == 0:
print(b)
else :
print(-1)
Learning course: Solve Programming problems using Python
Problem Link: CodeChef: Practical coding for everyone