#1. 정수 하나를 입력받고 이 정수가 짝수인지 홀수인지 판별하기
# n = int(input())
# if n % 2 == 0:
# print("짝수")
# else:
# print("홀수")
# 2. 반복문을 이용해서
# *
# *
# *
# *
# *
# 나오게 만들기
for i in range(5, 0, -1):
print("*" * i)
i=5;
while i>0:
print("*" * i)
i-=1
To embed this project on your website, copy the following code and paste it into your website's HTML: