I'm trying to print three strings next to each other like so:
StringA StringB StringC
However, whenever I run my code no matter what I've tried it always prints them on different lines. How do I fix this? My code is as follows:
def DisplayCard(row, column, array):
x=0
t=""
while x < column:
s = array[x]
t = ''.join(s)
x=x+1
print(t),
Where array is the data passed into the function in the form of a list. Also forgot to mention im running 2.7