Commit 1d6b707e by BellCodeEditor

save project

parent 18debf43
Showing with 7 additions and 5 deletions
n=int(input())
if n%2==0:
print(0)
else:
print(1)
i=int(input())
n=0
for i in range(1,i+1):
n=n+i
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