+ 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?
2 Réponses
0
serisiru
0
can u xplain in detail way
What is the value of mystring after the following lines are executed?