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

リーダーボード

表示スタイル

オプション

テンプレートを切り替える

自動保存: を復元しますか?