What will be the output of the following code:
s = "Hello World"
s = s[::-1]
s = s.title()
s = s.replace("l", "*")
print(s)
-
D*roW O**eh
-
DlroW OlleH
-
droW o**eh
-
Dlrow Olleh
Answer:
Answer by student
a. D*roW O**eh
Detailed answer by teachoo
The rest of the post is locked. Join Teachoo Black to see the full post.