Merge branch 'master' into modernize-python2-code

This commit is contained in:
cclauss
2017-12-13 16:32:28 +01:00
committed by GitHub
18 changed files with 1053 additions and 173 deletions

View File

@ -14,7 +14,9 @@ except NameError:
raw_input = input # Python 3
n = int(raw_input().strip())
i=1; j=2; sum=0
i=1
j=2
sum=0
while(j<=n):
if((j&1)==0): #can also use (j%2==0)
sum+=j