#!/usr/bin/env python

n = 0
sum = 0

while n <= 100:
    sum = sum + n
    n = n + 1


print(sum)


count = 0
while count < 5:
   print (count, " 小于 5")
   count = count + 1
else:
   print (count, " 大于或等于 5")


#flag = 1
#while (flag): print ('欢迎访问菜鸟教程!')
#print ("Good bye!")

languages = ["C", "C++", "Perl", "Python"]


for language in languages:
    print(language)

for i in range(5):
    print(i)
