0
How to print two strings in one go using append
test = [] best = [] west = ["Trying", "To", "Check", "How", "This", "works"] test.append(108) test.append(54) test.append(27) test.append(13) test.append(9) best.append("No") best.append("Clue") best_west = west[5] best_west = west[4] best_west = west[3] best_west = west[2] best_west = west[1] best_west = west[0] print(test) print(best) print(best_west) This code provides the output as [108, 54, 27, 13, 9] ['No', 'Clue'] Trying My question is if I want to print "Trying" & Check or any other string in one sentence, how should I do it? e.g. Trying & Works together.
2 ответов
+ 3
https://code.sololearn.com/cgRw2CV69IzC/?ref=app
try to research this direction
+ 1
Thanks Oma..it helped me a lot!