print(2025) #출력함수
print('안녕하세요')

name = '담미'
age = 11
print(name, age)
print('내 이름은', name)
# f-string 문자열 안에 변수를 넣어서 사용한다
print(f'내 이름은 {name}이고, 나이는 {age}살 입니다')

#탈출 문자 \역슬래시로 시작
'''
\n 줄 바꾸기
\t 탭
\\ 역슬래시를 출력
\' 작은따옴표를 출력
\" 큰따옴표를 출력
'''
print('안녕!\n반가워')
print('이름\t나이')
print('경로 C:\\Python')
print('I\'m a student.')
print("He said \"Hello\".") # "Hello"


print('----문제----')
print('이름\t나이\n\'담미\'\t11세')
print(f'이름\t나이\n\'{name}\'\t{age}세')



Embed on website

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