1) Which of the following is a correct way to declare (create) a variable in Python? a) x = 5 b) var x = 5 c) declare x as 5 d) int x = 54 2) What will be the output of the following code? a) 10 b) 15 c) error d) 5 3) What is the output of the following code? a) HelloHelloHello b) 3 Hello c) Hello 3 times d) Error 4) What will be the output of the following code? a) 10 b) error c) 52 d) 55 5) Which of the following is not a valid data type in Python? a) int b) string c) float d) array 6) Which operator is used for multiplication in Python? a) + b) * c) / d) - e) x f) ** 7) What will be the output of the following code? a) cat b) dog c) mouse d) 1 e) x 8) How do we display something to the screen? a) print ( ) b) input ( ) c) display ( ) d) show ( )
0%
Python
共有
共有
共有
Lcleminson
さんの投稿です
コンテンツの編集
印刷
埋め込み
もっと見る
割り当て
リーダーボード
もっと表示する
表示を少なくする
このリーダーボードは現在非公開です。公開するには
共有
をクリックしてください。
このリーダーボードは、リソースの所有者によって無効にされています。
このリーダーボードは、あなたのオプションがリソースオーナーと異なるため、無効になっています。
オプションを元に戻す
ボックスを開く
は自由形式のテンプレートです。リーダーボード用のスコアは生成されません。
ログインが必要です
表示スタイル
フォント
サブスクリプションが必要です
オプション
テンプレートを切り替える
すべてを表示
アクティビティを再生すると、より多くのフォーマットが表示されます。
オープン結果
リンクをコピー
QRコード
削除
自動保存:
を復元しますか?