How do i move the first letter of a word to the end ?in python | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
0

How do i move the first letter of a word to the end ?in python

14th Jul 2022, 4:39 PM
‏‪Abdulrhman Ragab‬
‏‪Abdulrhman Ragab‬ - avatar
1 Respuesta
+ 6
word = "hello" print(word[1:] + word[0]) elloh
14th Jul 2022, 4:44 PM
Slick
Slick - avatar