A list can be changed by adding or removing items., True, False, A list does not have a variable name., True, False, A list uses square brackets., True, False, Items in a list are separated by dashes., True, False, You want to arrange the items in a list alphabetically. What command should you use?, .sort(), .alpha(), .arrange(), You want to add an item to a list. What command should you use?, .add(), .append(), .list(), You want to delete an item from a list. What command should you use?, .quit(), .isdelete(), .remove(), You want to count the number of apples. Which script correctly fixes the code? fruit=['orange', 'apple', 'banana', 'apple'] fruitcount('apple'), fruit=['orange', 'apple', 'banana', 'apple'] fruit.count('apple'), fruit=['orange', 'apple', 'banana', 'apple'] fruitcount(apple), fruit=['orange', 'apple', 'banana', 'apple'] fruitcount['apple'], You want to make a list of sports that can be changed. Which script correctly fixes the code? sports=('hockey', 'baseball', 'soccer') sports.append('basketball'), sports='hockey', 'baseball', 'soccer' sports.append('basketball'), sports('hockey', 'baseball', 'soccer') sports.append('basketball'), sports=['hockey', 'baseball', 'soccer'] sports.append('basketball'), You want to print a list of names. Which script correctly fixes the code? names=['Parker', 'Kelly', 'Riley'] print[names], names=['Parker', 'Kelly', 'Riley'] print=names, names=['Parker', 'Kelly', 'Riley'] print(names), names=['Parker', 'Kelly', 'Riley'] print['names']
0%
Session 5 Review: About Python Lists
共有
共有
Hussun310
さんの投稿です
コンテンツの編集
セーブ
いいね!
印刷
埋め込み
もっと見る
ログインが必要です
表示スタイル
すべてを表示
フォント
アクティビティ設定
リーダーボード
割り当て
サブスクリプションが必要です
アクティビティ設定
リーダーボード
このリーダーボードは現在非公開です。公開するには
共有
をクリックしてください。
このリーダーボードは、リソースの所有者によって無効にされています。
このリーダーボードは、あなたのオプションがリソースオーナーと異なるため、無効になっています。
オプションを元に戻す
もっと表示する
表示を少なくする
クイズ
は自由形式のテンプレートです。リーダーボード用のスコアは生成されません。
割り当て
まだ課題を設定していません。
結果の収集を開始するには、任意のアクティビティページに移動し、[
課題の設定
]を選択します
設定を確認し、結果のリンクを生徒と共有します。
課題を設定
AI強化版:この活動にはAIによって生成されたコンテンツが含まれています。
詳細情報。
テンプレートを切り替える
すべてを表示
オープン結果
リンクをコピー
QRコード
削除
自動保存:
を復元しますか?