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 ( )

リーダーボード

表示スタイル

オプション

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

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