2022-01-07

class Solution:

    def a(self,c):

        self.input=c

        self.x=3

    def testglobal(self,c):

        self.x=c*c

def say_hello():

    print("Hello, World!")

while 1:

    a = []

    s = raw_input()

    say_hello()

    solution=Solution()

    if s != "":

        for k in s.split():

            print(k)

            solution.testglobal(int(k))

        print('final',solution.x)

    else:

        break

你可能感兴趣的:(2022-01-07)