#0-100以内的加法
sum = 0
for x in range(101):
    sum = sum + x
print(sum)



#for循环输出
names = ['bob','Lisa','Luncode']
for name in names:
        print(name)


        
#100以内的奇数加法
sum = 0
n = 99
while n > 0:
    sum = sum + n
    n = n - 2
    print(sum)


    
#for循环输出
L = ['Bart','Lisa','Adam']
for name in L:
    print('Hello,',name)


    
#while循环输出
n = 0
s = len(names)
while n < s:
    print('Hello',L[n])
    n = n + 1

