print('안녕'+'하세요')
print('안녕','하세요')
#문자열 + 문자열만 가능하다
print('안녕' + '2')
print('안녕' + "[1, '2']")
#문자열 * 정수만 가능하다
print('안녕' * 3)
print(3 * 'hi')
# print('ab' / 'b') 문자열은 빼기랑 나누기가 안된다
print('----문제1----')
text = "Wow"
print(text + '!!!')
text2 = '!!!'
print(text + text2)
print('----문제2----')
text3 = 'wo'
print(text3 * 10)
print(10 * 'wo')
To embed this project on your website, copy the following code and paste it into your website's HTML: