#문자열 연산
text1 = '안녕'
text2 = '하세요'
print(text1 + text2)
print(text1 * 4) #문자열에는 정수만 곱할 수 있다
print(4 * text2)
print(text1 + '2')
name = '박주현'
print('내 이름은' + name + '입니다')
#리스트 연산
list1 = [1, 2, 3]
list2 = [4, 5]
print(list1 + list2)
print(list1 * 3)
print('-----예제1-----')
text3 = "Wow"
+ 이용해서 !!! 붙이고 출력하기
print(text3 + "!!!")
#in, not in 시간 남아서 추가수업
a = 'Good Morning'
print('Good' in a)
print('good' in a)
To embed this project on your website, copy the following code and paste it into your website's HTML: