以下语法的结果是什么:
mylist = ['apple', 'banana', 'cherry']
print(mylist[1])?
Python Lists Quiz
Quiz
•
Computers
•
University
•
Easy
Shiwen Zhang
Used 1+ times
FREE Resource
17 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
以下语法的结果是什么:
mylist = ['apple', 'banana', 'cherry']
print(mylist[1])?
Banana
Cherry
Orange
Apple
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
列表 mylist = ['apple', 'banana', 'cherry'] 的第一个元素是什么?
grape
apple
cherry
banana
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
这个列表里面有几个元素 mylist = ['apple', 'banana', 'cherry']?
5
4
3
2
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
下面哪个元素不属于列表mylist
mylist = ['apple', 'banana', 'cherry']?
banana
cherry
apple
kiwi
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
如何访问列表 mylist = ['apple', 'banana', 'cherry'] 的最后一个元素?
mylist[3]
mylist[-1]
mylist[0]
6.
FILL IN THE BLANK QUESTION
1 min • 1 pt
打印列表fruits里面的第二个元素
fruits = ["apple", "banana", "cherry"]
print( )
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
下列代码的运行结果为
mylist = ['apple', 'banana', 'cherry', 'orange', 'kiwi']
print(mylist[1:4])
['banana', 'cherry', 'orange']
['banana', 'cherry', 'orange', 'kiwi']
['cherry', 'orange', 'kiwi']
18 questions
Javascript Fundamental
Quiz
•
University
20 questions
list 6th
Quiz
•
7th Grade - University
15 questions
Python
Quiz
•
University
15 questions
Python Programming Intermediate-1
Quiz
•
University
20 questions
Data Analysis using Python
Quiz
•
University
16 questions
dictionary
Quiz
•
University
15 questions
Scratch Text Operators
Quiz
•
KG - Professional Dev...
21 questions
Python Fundamentals
Quiz
•
University
10 questions
Chains by Laurie Halse Anderson Chapters 1-3 Quiz
Quiz
•
6th Grade
20 questions
math review
Quiz
•
4th Grade
15 questions
Character Analysis
Quiz
•
4th Grade
12 questions
Multiplying Fractions
Quiz
•
6th Grade
30 questions
Biology Regents Review #1
Quiz
•
9th Grade
20 questions
Reading Comprehension
Quiz
•
5th Grade
20 questions
Types of Credit
Quiz
•
9th - 12th Grade
50 questions
Biology Regents Review: Structure & Function
Quiz
•
9th - 12th Grade
10 questions
Identifying equations
Quiz
•
KG - University
16 questions
Chapter 8 - Getting Along with your Supervisor
Quiz
•
3rd Grade - Professio...
6 questions
Railroad Operations and Classifications Quiz
Quiz
•
University
71 questions
Logos
Quiz
•
3rd Grade - University
8 questions
Mali - Geography
Quiz
•
University