Geek played three matches and he wants to represent his scores as an array and in the Concatenated string form.
Example 1:
Input:
2 7 5
Output:
[ 2,7,5 ]
275
Your Task:
This is a function problem. You only need to complete the function arrayForm() and stringForm() that takes three integers a,b,c as parameters and that return array form and string form respectively. Don't print newline, it will be added by the driver code.
Constraint:
1<=a,b,c<=10

Source: geeksforgeeks | Difficulty: EASY

Starter code: #User function Template for python3



class Solution:

    def arrayForm(self, a, b, c):

        # Code here

    def stringForm(self, a, b, c):

        # Code here

Solutions:
class Solution:

	def arrayForm(self, a, b, c):
		return [a, b, c]

	def stringForm(self, a, b, c):
		return str(a) + str(b) + str(c)


class Solution:

	def arrayForm(self, a, b, c):
		return [a, b, c]

	def stringForm(self, a, b, c):
		lst = [str(a), str(b), str(c)]
		return ''.join(lst)


class Solution:

	def arrayForm(self, a, b, c):
		list = []
		list.append(a)
		list.append(b)
		list.append(c)
		return list

	def stringForm(self, a, b, c):
		return '{}{}{}'.format(a, b, c)


class Solution:

	def arrayForm(self, a, b, c):
		l = []
		l.append(a)
		l.append(b)
		l.append(c)
		return l

	def stringForm(self, a, b, c):
		return str(a) + str(b) + str(c)


class Solution:

	def arrayForm(self, a, b, c):
		l = [0, 0, 0]
		l[0] = a
		l[1] = b
		l[2] = c
		return l

	def stringForm(self, a, b, c):
		s = ''
		s += str(a)
		s += str(b)
		s += str(c)
		return s


class Solution:

	def arrayForm(self, a, b, c):
		return [a, b, c]

	def stringForm(self, a, b, c):
		ans = [a, b, c]
		return ''.join((str(i) for i in ans))


class Solution:

	def arrayForm(self, a, b, c):
		x = []
		x.append(str(a))
		x.append(str(b))
		x.append(str(c))
		x = list(x)
		return x

	def stringForm(self, a, b, c):
		x = str(a) + str(b) + str(c)
		return x


class Solution:

	def arrayForm(self, a, b, c):
		l = []
		l.append(a)
		l.append(b)
		l.append(c)
		return l

	def stringForm(self, a, b, c):
		l = []
		l.append(a)
		l.append(b)
		l.append(c)
		l = [str(x) for x in l]
		res = ''.join(l)
		return res


class Solution:

	def arrayForm(self, *i):
		return list(i)

	def stringForm(self, *i):
		return ''.join(map(str, i))


class Solution:

	def arrayForm(self, a, b, c):
		arr = [a, b, c]
		return arr

	def stringForm(self, a, b, c):
		a = str(a)
		b = str(b)
		c = str(c)
		k = a + b + c
		return k


class Solution:

	def arrayForm(self, a, b, c):
		return [a, b, c]

	def stringForm(self, a, b, c):
		s = list(map(str, self.arrayForm(a, b, c)))
		return int(''.join(s))


class Solution:

	def arrayForm(self, a, b, c):
		li = []
		li.append(a)
		li.append(b)
		li.append(c)
		return li

	def stringForm(self, a, b, c):
		ans = str(a) + str(b) + str(c)
		return ans


class Solution:

	def arrayForm(self, a, b, c):
		return [a, b, c]

	def stringForm(self, a, b, c):
		return '{0}{1}{2}'.format(a, b, c)


class Solution:

	def arrayForm(self, a: int, b: int, c: int) -> list:
		return [a, b, c]

	def stringForm(self, a: int, b: int, c: int) -> str:
		return str(a) + str(b) + str(c)


class Solution:

	def arrayForm(self, a, b, c):
		A = [a, b, c]
		return A

	def stringForm(self, a, b, c):
		B = ''
		B += str(a) + str(b) + str(c)
		return B


class Solution:

	def arrayForm(self, a, b, c):
		x = [a, b, c]
		return x

	def stringForm(self, a, b, c):
		x = [a, b, c]
		s = ''
		for i in x:
			s += str(i)
		return s


class Solution:

	def arrayForm(self, a, b, c):
		d = [a, b, c]
		return d

	def stringForm(self, a, b, c):
		d = [str(a), str(b), str(c)]
		e = ''.join(d)
		return e


class Solution:

	def arrayForm(self, a, b, c):
		lst = []
		lst.append(a)
		lst.append(b)
		lst.append(c)
		return lst

	def stringForm(self, a, b, c):
		s1 = str(a)
		s2 = str(b)
		s3 = str(c)
		s = s1 + s2 + s3
		return s


class Solution:

	def arrayForm(self, a, b, c):
		x = [a, b, c]
		return x

	def stringForm(self, a, b, c):
		x = [a, b, c]
		str1 = ''
		for ele in x:
			str1 += str(ele)
		return str1