class Cat: print("クラスCatを定義中です……") print(f"生成されたクラスは{Cat}") x = Cat() print(f"生成されたインスタンスの型は{type(x)}") # プログラム11-3(クラス定義)