# --------------------------------------------
# 문제 1: 강아지 클래스 만들기
# --------------------------------------------
# Dog 클래스를 만드세요.
# name(이름)을 저장하는 변수를 만드세요.
# bark() 메소드(클래스 안 함수)를 만들고
# "<이름>가 멍멍!" 을 출력하세요.

# class Dog:
#     def __init__(self,name):
#         self.name= name
#     def bark(self):
#         print(self.name,'가 멍멍!')

# puppy = Dog('초코')
# puppy.bark()

Embed on website

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