def test4(self):
     print_module.pprint("test")
     pprint2("hello")
     f1 = Fruit("apple")
     f2 = Fruit("Orange")
     f1.add()
     f2.add()
Exemple #2
0
from print_module import pprint2
import print_module 
from print_module import Fruit
# import Fruit

pprint2("I am here")
t1 = Fruit("mango")
t1.add()