INNER CODE UNIT · Python

bubble_sort

faiyazahmad07/xss_vibes · main.py:93

    def bubble_sort(self, arr):
        '''
        For sorting the payloads
        '''
        #print(arr)
        a = 0
        keys = []
        for i in arr:
            for j in i:
                keys.append(j)
        #print(keys)
        while a < len(keys) - 1:
            b = 0
            while b < len(keys) - 1:
                d1 = arr[b]
                #print(d1)
                d2 = arr[b + 1]
               # print(d2)

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…