+ 1

Wap to print words of given string in reverse?

input string: Warm Welcome to Programming output string: mraW emocleW ot gnimmargorP

11th Jun 2018, 11:03 AM
D€√Anand Gutte
D€√Anand Gutte - avatar
3 ответов
+ 3
text = "Warm Welcome to Programming" output = [] for word in text.split(): output.append(word[::-1]) print(" ".join(output))
11th Jun 2018, 11:30 AM
Gopal Gautam
Gopal Gautam - avatar
14th Jun 2018, 7:58 PM
Gopal Gautam
Gopal Gautam - avatar
0
Gopal Gautam can u do it in c++?
14th Jun 2018, 6:15 PM
D€√Anand Gutte
D€√Anand Gutte - avatar