Guest User

Untitled

a guest
Apr 26th, 2018
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.20 KB | None | 0 0
  1. class Test:
  2.     def fun1(self):
  3.         x = Test2()
  4.         aRun = x.fun2()
  5.         print (aRun)
  6. class Test2:
  7.     def fun2(self):
  8.         x = 2
  9.         return x
  10.  
  11. aTest = Test()
  12. aTest.fun1()
Add Comment
Please, Sign In to add comment