s = "python rocks" print(s[1] * s.index("n")). yyyyy; Correct! s[1] = y and the index of n is 5, so y * 5 prints 5 y characters.
確定! 回上一頁