Commit 1d6b707e by BellCodeEditor

save project

parent 18debf43
Showing with 7 additions and 5 deletions
n=int(input()) i=int(input())
if n%2==0: n=0
print(0) for i in range(1,i+1):
else: n=n+i
print(1) print(n)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment