_list = [1,1,3]
sum = 3

class Test:
	def  match(self,_list,sum):
		for i in range(len(_list)):
			for j in range(i+1,len(_list)):
				if _list[i] + _list[j] == sum:
					print('match found')
					return 
		print('no match found')
	@staticmethod
	def  static_match(_list,sum):
		for i in range(len(_list)):
			for j in range(i+1,len(_list)):
				if _list[i] + _list[j] == sum:
					print('match found')
					return 
		print('no match found')


Test().static_match(_list,sum)

test = Test()	
test.match(_list,sum)

str = "I am a boy"

list = str.split().reverse()

reversestring = ' '.join(list)

print(reversestring)





645c38b1df9f2207f1e0aa747b0ccb49e7d33b1f
<mask token>


class Test:
    <mask token>

    @staticmethod
    def static_match(_list, sum):
        for i in range(len(_list)):
            for j in range(i + 1, len(_list)):
                if _list[i] + _list[j] == sum:
                    print('match found')
                    return
        print('no match found')


<mask token>

<mask token>


class Test:

    def match(self, _list, sum):
        for i in range(len(_list)):
            for j in range(i + 1, len(_list)):
                if _list[i] + _list[j] == sum:
                    print('match found')
                    return
        print('no match found')

    @staticmethod
    def static_match(_list, sum):
        for i in range(len(_list)):
            for j in range(i + 1, len(_list)):
                if _list[i] + _list[j] == sum:
                    print('match found')
                    return
        print('no match found')


<mask token>

<mask token>


class Test:

    def match(self, _list, sum):
        for i in range(len(_list)):
            for j in range(i + 1, len(_list)):
                if _list[i] + _list[j] == sum:
                    print('match found')
                    return
        print('no match found')

    @staticmethod
    def static_match(_list, sum):
        for i in range(len(_list)):
            for j in range(i + 1, len(_list)):
                if _list[i] + _list[j] == sum:
                    print('match found')
                    return
        print('no match found')


Test().static_match(_list, sum)
<mask token>
test.match(_list, sum)
<mask token>
print(reversestring)

_list = [1, 1, 3]
sum = 3


class Test:

    def match(self, _list, sum):
        for i in range(len(_list)):
            for j in range(i + 1, len(_list)):
                if _list[i] + _list[j] == sum:
                    print('match found')
                    return
        print('no match found')

    @staticmethod
    def static_match(_list, sum):
        for i in range(len(_list)):
            for j in range(i + 1, len(_list)):
                if _list[i] + _list[j] == sum:
                    print('match found')
                    return
        print('no match found')


Test().static_match(_list, sum)
test = Test()
test.match(_list, sum)
str = 'I am a boy'
list = str.split().reverse()
reversestring = ' '.join(list)
print(reversestring)

_list = [1,1,3]
sum = 3

class Test:
	def  match(self,_list,sum):
		for i in range(len(_list)):
			for j in range(i+1,len(_list)):
				if _list[i] + _list[j] == sum:
					print('match found')
					return 
		print('no match found')
	@staticmethod
	def  static_match(_list,sum):
		for i in range(len(_list)):
			for j in range(i+1,len(_list)):
				if _list[i] + _list[j] == sum:
					print('match found')
					return 
		print('no match found')


Test().static_match(_list,sum)

test = Test()	
test.match(_list,sum)

str = "I am a boy"

list = str.split().reverse()

reversestring = ' '.join(list)

print(reversestring)




