#!/usr/bin/python3
# -*- coding:utf-8 -*-
# Authour:Dreamer
# Tmie:2018.6.1

"""
1~10的和

1+2+3+4+5+6+7+8+9+10

sum = 0
sum = sum + 1
sum = sum + 2
sum = sum + 3
sum = sum + 4
sum = sum + 5
sum = sum + 6
sum = sum + 7
sum = sum + 8
sum = sum + 9
sum = sum + 10

"""

# 1~10的和
# sum = 0
#
# i = 1
# while i <= 10:
#     sum += i
#     print("1~%d的和是%d"%(i,sum))
#     i += 1

# 1~100的和
# sum = 0
#
# i = 1
# while i <= 100:
#     sum += i
#     print("1~%d的和是%d"%(i,sum))
#     i += 1


# 1~100的偶数和
# sum = 0
#
# i = 2
# while i <= 100:
#     sum += i
#     print("1~%d的和是%d"%(i,sum))
#     i += 2
# print("完成")

# 1~100的偶数和
# sum = 0
#
# i = 1
# while i <= 100:
#     if i % 2 == 0:
#         sum += i
#         print("1~%d的和是%d"%(i,sum))
#     i += 1
# print("完成")

# 1~100的奇数和
# sum = 0
#
# i = 1
# while i <= 100:
#     sum += i
#     print("1~%d的和是%d"%(i,sum))
#     i += 2
# print("完成")

# 1~100的偶数和
# sum = 0
#
# i = 1
# while i <= 100:
#     if i % 2 == 1:
#         sum += i
#         print("1~%d的和是%d"%(i,sum))
#     i += 1
# print("完成")


# 1~100的偶数和

i = 1
while i <= 100:
    print("*" *  i)
    i += 1
print("完成")
