+ 1

how i can convert vertical outputs to horizontal outputs?

hey my problem is about >pig latin< in code coach -->this is my code: text = input() x = text.split(' ') for i in x: y = i + i[0] z = y.replace(y[0],'') print(z + i[0] + 'ay') code output is words which are vertical and under each other, i want to put them next to together

12th Jan 2023, 12:23 PM
Sobhan-Delsaf
Sobhan-Delsaf - avatar
2 odpowiedzi
+ 4
print( z + i[0] +'ay', end="") #end = "\n" is default
12th Jan 2023, 1:05 PM
Jayakrishna 🇮🇳
0
Step 1: Select blank cells. First select some blank cells. Step 2: Type =TRANSPOSE( With those blank cells still selected, type: =TRANSPOSE Step 3: Type the range of the original cells. Now type the range of the cells you want to transpose. Step 4: Finally, press CTRL+SHIFT+ENTER.
13th Jan 2023, 9:46 AM
william joe
william joe - avatar