1) Given a string s = "abcdefg", write a Python code to extract the substring "aceg" (skipping every other character). a) s[:] b) s[ : : 2] c) s[ 2: : ] d) s=[ :2: ] 2) What does the continue statement do in a loop in Python? a) It exits the loop b) It skips the current iteration of the loop and proceeds to the next iteration c) It terminates the program d) It reinitializes the loop counter

排行榜

视觉风格

选项

切换模板

恢复自动保存: