Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis0
The question is "the alien's language is English but they speak first letter at last and last letter at first"
For example If we insert:- Hi thanks for help The answers should be:-pi thanks for helH Please help me with it Here are my two attempts https://code.sololearn.com/cu6KOp6q52Ax/?ref=app https://code.sololearn.com/cZM8x08RWD9X/?ref=app
2 Respostas
+ 3
Here is the slicing example ,now you need to learn about slicing if you don't understand what's happening!
a="hello there"
a=a[-1]+a[1:-1]+a[0]
print(a)
+ 5
Harsh Rahevar , before you are going to ask for help, you should have done a try by yourself first. Please put your code in playground and link it here. Thanks!