Įkeliama užduotis…
This works like scrolling text: the beginning of the string moves to the end, and the rest shifts forward. Write a function left2 that takes a string s with length at least 2. Move the first two characters to the end and return the resulting string.
"Hello""lloHe""java""vaja""Hi""Hi"def left2(s: str) -> str:
Prisijunkite, kad matytumėte pateikimų istoriją
PrisijungtiPrisijunkite, kad naudotumėte DI mentorių
Prisijungti"Hello""lloHe""java""vaja""Hi""Hi""abcd""cdab""HelloHello""lloHelloHe""xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx""xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"