
Python Language 2
Authored by Justim Chung
Computers
University
Used 4+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
5 sec • 1 pt
Python list 中每一個元素之間是用什麼隔開?
逗點 ,
分號 ;
空白
老師對學生無窮的愛 (選我正解)
2.
MULTIPLE CHOICE QUESTION
5 sec • 1 pt
a=[1,7,4,9,8]
請問 a[1] 是那個數字
1
2
7
8
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
令串列的名稱為 lst, 請問底下那個指令可以取得串列的長度?
Len(lst)
長度(lst)
len(lst)
length(lst)
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
請問這支程式會印出幾個 'hi' ?
4
5
3
1
5.
FILL IN THE BLANK QUESTION
30 sec • 1 pt
如果要找出可以被 18 除盡的數,請問空白處要填什麼?
6.
MULTIPLE SELECT QUESTION
1 min • 1 pt
本題多選
a = [18,16,32,48,99]
要取出最後一個元素,可以用那種寫法?
a[-1]
a[4]
a[5]
a[len(a)-1]
7.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
底下的串列中存了所有學生的數學成績。老師決定每個學生的成績開更號後乘以10。
請問班上同學的「平均」成績為何?
s = [88, 40, 36, 42, 61]
71.023257
70.2849369
71.992754
72.992754
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?