n = int(input()) #정수 입력
if n >= 10 and n < 100:
    print("10의 자릿수입니다.")

s = input() #문자열 입력
if s == '김알고':
    print("당신은 우리 학원의 학생입니다.")
else:
    print("당신은 우리 학원의 학생이 아닙니다.")

for i in range(1, 11, 1):
    print(i)

i=1
while i<11:
    print(i)
    i+=1

i=10
while i>0:
    print(i)
    i-=1

for i in range(1, 6, 1):
    print("*" * i)

l = [] 
for i in range(10):
    n = int(input())
    if n % 2 == 0:
        l.append(n)
print(l)

def add(a, b):
    print(a+b)

add(1,2)
add(100, 200)

def cal(a, b, c):
    print(a * b - c)

cal(10, 3, 15)




    

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: