1) What is the correct syntax to output "Hello World" in Python? a) echo "Hello World" b) echo("Hello World") c) print "Hello World" d) print("Hello World") 2) How do you create a variable with the numeric value 5? a) x = "5" b) x = 5 c) Both the answers are correct 3) In Python, 'Hello', is the same as "Hello" a) True b) False 4) Which operator is used to calculate exponentiation? a) * b) x c) # d) ** 5) Which function is used to get the input from the user? a) get() b) fetch() c) input() d) int() 6) What is the % operator called in python? a) percentage operator b) division operator c) modulo operator d) integer division 7) If days = 2*3+5*2 then what value is assigned to variable days when the expression is executed? a) 33 b) 16 c) 32 d) 15
0%
Python Quiz - Concepts revisited
共有
共有
共有
Shinuarora28
さんの投稿です
コンテンツの編集
印刷
埋め込み
もっと見る
割り当て
リーダーボード
もっと表示する
表示を少なくする
このリーダーボードは現在非公開です。公開するには
共有
をクリックしてください。
このリーダーボードは、リソースの所有者によって無効にされています。
このリーダーボードは、あなたのオプションがリソースオーナーと異なるため、無効になっています。
オプションを元に戻す
クイズ
は自由形式のテンプレートです。リーダーボード用のスコアは生成されません。
ログインが必要です
表示スタイル
フォント
サブスクリプションが必要です
オプション
テンプレートを切り替える
すべてを表示
アクティビティを再生すると、より多くのフォーマットが表示されます。
オープン結果
リンクをコピー
QRコード
削除
自動保存:
を復元しますか?