#757. python-面向对象-创建了一个新的类实例并定义了prt方法,把当前类的对象实例的地址和类名都打印出来

python-面向对象-创建了一个新的类实例并定义了prt方法,把当前类的对象实例的地址和类名都打印出来

Background

Description

python-面向对象-创建了一个新的类实例并定义了prt方法,把当前类的对象实例的地址和类名都打印出来,一个是使用self作为参数,一个是使用paifuture作为参数 image

Format

Input

Output

Samples


<class '__main__.Test1'>
<class '__main__.Test2'>

Limitation

1s, 1024KiB for each test case.