0
How can change the place of 1 character in an array?
so for example; array1 = ["apple", "pear", "orange"] how can i change the first letter's place. for example: apple = pplea pear = earp orange = rangeo
2 Respostas
+ 1
Are you always putting the first letter at the end?
text = “apple”
text = text[1:] + text[0]
print(text)
0
Thank you it works and yeah always at the end