+ 2

def mystery(s): for i in range(len(s),1,-2): s = s[1:]+s[0]; return(s) mystring="siruseri" mystring=mystery(mystring)

What is the value of mystring after the following lines are executed?

18th Feb 2018, 6:18 AM
kamalesh vra
kamalesh vra - avatar
2 odpowiedzi
0
serisiru
18th Feb 2018, 6:36 AM
★Danila★
★Danila★ - avatar
0
can u xplain in detail way
18th Feb 2018, 6:37 AM
kamalesh vra
kamalesh vra - avatar