Ce face funcția len() în Python?

Python7

Quiz
•
Other
•
3rd - 8th Grade
•
Medium

Cosmin Florin
Used 2+ times
FREE Resource
21 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Returnează suma elementelor dintr-un obiect iterabil.
Returnează numărul de elemente dintr-un obiect iterabil.
Creează o copie a unui obiect iterabil.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cum poți combina două liste în Python?
Folosind funcția combine().
Folosind operatorul +.
Folosind funcția append()
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Care funcție din Python este folosită pentru a inversa ordinea elementelor într-o listă?
list.invert()
list.reverse()
reverse(list)
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Ce face funcția range() în Python?
Generează o secvență de numere întregi.
Sortează elementele unei liste.
Repetă un string de un număr specific de ori.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cum poți verifica dacă o cheie se află într-un dicționar în Python?
Folosind metoda check()
Folosind cuvântul cheie in
Folosind metoda exists()
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Care dintre următoarele moduri de a defini o funcție în Python este corect?
function myFunc():
def myFunc()
create myFunc():
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Ce tip de date returnează funcția input() în Python?
Integer
Lista
String
Create a free account and access millions of resources
Similar Resources on Quizizz
20 questions
Modurile personale ale verbului/ Predicatul nominal

Quiz
•
6th Grade
20 questions
1 Împărați--D--20 întrebări

Quiz
•
2nd - 8th Grade
20 questions
Adjectivul

Quiz
•
4th Grade
17 questions
Treci pe verde!

Quiz
•
8th Grade - University
20 questions
Volei

Quiz
•
6th - 8th Grade
16 questions
Valorile gramaticale ale verbului „a fi”

Quiz
•
6th Grade
20 questions
,,În casa bunicilor” de Ionel Teodoreanu

Quiz
•
5th Grade
21 questions
Pronumele

Quiz
•
7th - 9th Grade
Popular Resources on Quizizz
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
Discover more resources for Other
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
20 questions
Reading Comprehension

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
10 questions
Comparing Decimals

Quiz
•
5th Grade
10 questions
Human Body Systems and Functions

Interactive video
•
6th - 8th Grade