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

@ -13,8 +13,8 @@ try:
except NameError:
raw_input = input # Python 3
n = int(raw_input().strip())
sum=0;
num=0;
sum=0
num=0
while(1):
num+=3
if(num>=n):
@ -44,4 +44,5 @@ while(1):
if(num>=n):
break
sum+=num
print(sum);