text_plain_output_1.png
a = [1, 2, 3, 4, 5, 6, 7, 8, 9]

b = {'한국': '서울', '중국': '베이징', '일본': '도쿄', '미국': '워싱턴'}

class Person:
    def __init__(self, name, age):
        self.name = name
        self.age = age
    def get_name(self):
        return self.name
    def get_age(self):
        return self.age
g = Person('Dave', 27)
h = Person('Tom', 32)
print(f'{a.get_name()} is {g.get_age()} years old')
print(f'{b.get_name()} is {h.get_age()} years old')