Help me to find out where my code is going wrong(python 3)


#1

class Solution:
# @param A : tuple of integers
# @return a strings
def largestNumber(self ,A):
for i in range(0, len(A)):
for j in range(i + 1, len(A)):
if int(str(A[i]) + str(A[j])) < int(str(A[j]) + str(A[i])):
A[i], A[j] = A[j], A[i]
s = ‘’
for i in A:
s = s + str(i)
return int(s)


#2

You need to return a string instead of an integer