mojalista = ['papuga', 9, 'mysz', 'kot', 1, 2.4, 'papuga', 10]
Jakie elementy zostaną wycięte z listy mojalista w wyniku wykonania poniższego kodu:
mojalista[0:3]?
Listy w Pythonie ver 2
Quiz
•
Computers
•
12th Grade
•
Medium
Dawid Pindel
Used 3+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
mojalista = ['papuga', 9, 'mysz', 'kot', 1, 2.4, 'papuga', 10]
Jakie elementy zostaną wycięte z listy mojalista w wyniku wykonania poniższego kodu:
mojalista[0:3]?
'papuga', 9, 'mysz'
'papuga', 10
'kot', 1, 2.4
'mysz', 'kot', 1
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
mojalista = ['papuga', 9, 'mysz', 'kot', 1, 2.4, 'papuga', 10]
Co zostanie wycięte z listy mojalista przy użyciu zakresu indeksów 3:-2?
'mysz', 'kot', 1
'papuga', 10
'papuga', 9, 'mysz'
'kot', 1, 2.4
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Ile parametrów jest wykorzystywanych do wycinania elementów listy?
4
3
5
2
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Które z poniższych poleceń zwróci długość listy mojalista?
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Jak można zadeklarować pustą listę?
lista = []
lista = {}
lista = ()
lista = ""
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Jak dodać element na koniec listy?
extend()
remove()
append()
insert()
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Jak usunąć element z listy o określonym indeksie?
remove()
pop()
index()
sort()
10 questions
Sprawdź się
Quiz
•
4th - 12th Grade
7 questions
Minecraft
Quiz
•
KG - Professional Dev...
6 questions
Struktury danych w języku Python, listy, krotki, słowniki
Quiz
•
12th Grade
15 questions
2CG 2DG Pętle
Quiz
•
12th Grade
10 questions
Interfejsy USB i bezprzewodowe oraz urządzenia wskazujące i
Quiz
•
9th - 12th Grade
12 questions
Informatyka 7
Quiz
•
1st - 12th Grade
15 questions
Test WORD
Quiz
•
KG - University
8 questions
Blender Quiz
Quiz
•
12th Grade
15 questions
Character Analysis
Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing
Quiz
•
9th - 12th Grade
10 questions
American Flag
Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension
Quiz
•
5th Grade
30 questions
Linear Inequalities
Quiz
•
9th - 12th Grade
20 questions
Types of Credit
Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25
Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers
Quiz
•
6th - 8th Grade
17 questions
Chapter 12 - Doing the Right Thing
Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities
Quiz
•
9th - 12th Grade
20 questions
Types of Credit
Quiz
•
9th - 12th Grade
20 questions
Taxes
Quiz
•
9th - 12th Grade
17 questions
Parts of Speech
Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression
Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing
Quiz
•
9th - 12th Grade
10 questions
Identifying equations
Quiz
•
KG - University