def square(self): self.assertEqual(hello.square(4), 16)
from hello import square from hello import main print(square(10)) print(main(10))
def main(): for i in range(10): print("{} squared is {}".format(i, square(i)))
#from hello import square # for i in range(10): # print(square(i)) import hello for i in range(10): print(hello.square(i))
def main(): print(square(10)) hello()
from hello import square print(square(232))