+ 1
Wap to print words of given string in reverse?
input string: Warm Welcome to Programming output string: mraW emocleW ot gnimmargorP
3 Respuestas
+ 3
text = "Warm Welcome to Programming"
output = []
for word in text.split():
output.append(word[::-1])
print(" ".join(output))
0
Gopal Gautam can u do it in c++?