# 🧠 문제 1. 문자 인덱싱하기
# 아래의 코드를 보고 질문에 답해 보세요.

text = "Python is fun!"
# text[0]의 값은 무엇인가요?

# text[3]의 값은 무엇인가요?

# text[10]의 값은 무엇인가요?

# ✂️ 문제 2. 슬라이싱하기
# 같은 text = "Python is fun!"을 이용해서, 아래의 질문에 답해 보세요.

# text[0:6]의 결과는 무엇인가요?

# text[7:9]의 결과는 무엇인가요?

# text[10:13]의 결과는 무엇인가요?

# 🤔 보너스 문제
# text[7:]의 결과는 무엇일까요?

# text[:6]의 결과는 무엇일까요?

fruit1 = "apple"
fruit2 = "banana"
fruit3 = "cherry"
fruit4 = "orange"
fruit5 = "mango"
fruit6 = "lemon"

#angel, memo, none(없다)

Embed on website

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