print('20521 이주호')
print('------------[복습예제]-------------')
num=20
text1='파이썬'
text2='재밌어'
print(text1+text2)
print(text1,text2)
print(text1*num)
print('------------[109쪽 예제2]-------------')
print('è zali')
friend1=12
friend2=7
friend3=9
friend4=10
friend5=11
sum=friend1+friend2+friend3+friend4+friend5
print('친구의 수면 시간 총합은',sum)
print('평균은',sum/5)
print('------------[109쪽 예제3]-------------')
print('nioso tout')
a,b=10,5
print(a,b)
a,b=b,a
print(a,b)
a,b,c,d,e,f,g,=1,3,5,6,7,8,9
print(a,b,c,d,e,f,g,)
a,b,c,d,e,f,g,=d,e,f,g,a,b,c
print(a,b,c,d,e,f,g,)
print('------------[110쪽 활동지 1번]-------------')
print('--kendé')
price=1200
amount=12
dc_rate=20/100
total=price*amount
print('전체금액:',total)
dc=int(total*dc_rate)
total=total-dc
print('할인 금액:',dc)
print('최종금액:',total)
To embed this project on your website, copy the following code and paste it into your website's HTML: