Câu lệnh range() trong Python được sử dụng để làm gì?

PTA - Buổi 1

Flashcard
•
English
•
KG
•
Hard
Quizizz Content
FREE Resource
Student preview

15 questions
Show all answers
1.
FLASHCARD QUESTION
Front
Back
Tạo một dãy số từ giá trị bắt đầu đến giá trị kết thúc.
2.
FLASHCARD QUESTION
Front
Cú pháp đầy đủ của câu lệnh range() là gì?
Back
range(start, end, step)
3.
FLASHCARD QUESTION
Front
Giá trị trả về của hàm được đặt sau từ khóa nào?
Back
return
4.
FLASHCARD QUESTION
Front
Lệnh append() trong Python có chức năng gì?
Back
Thêm một phần tử vào danh sách.
5.
FLASHCARD QUESTION
Front
Cấu trúc câu điều kiện if-else trong Python thuộc dạng gì?
Back
Dạng đủ.
6.
FLASHCARD QUESTION
Front
Câu lệnh nào được sử dụng để định nghĩa một hàm trong Python?
Back
def.
7.
FLASHCARD QUESTION
Front
Câu lệnh nào được sử dụng để nhập một thư viện trong Python?
Back
import.
Create a free account and access millions of resources
Similar Resources on Quizizz
10 questions
Ôn tập chủ đề F

Flashcard
•
KG
10 questions
TIN HỌC 6 - BÀI 12

Flashcard
•
6th Grade
15 questions
TIẾNG ANH 8 - ÔN TẬP GIỮA KÌ I

Flashcard
•
8th Grade
15 questions
TIẾNG ANH 8 - ÔN TẬP GIỮA KÌ I

Flashcard
•
8th Grade
10 questions
Khám Phá Biện Pháp Tu Từ

Flashcard
•
6th Grade
15 questions
VUI HỌC TIẾNG VIỆT - Tuần 29 - số 1

Flashcard
•
2nd Grade
15 questions
GS8_Unit8(Trạng từ tần suất và hiện tại đơn)

Flashcard
•
8th Grade
10 questions
Bài 24: Đánh giá độ phức tạp thời gian thuật toán

Flashcard
•
11th Grade
Popular Resources on Quizizz
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
Discover more resources for English
10 questions
Identifying equations

Quiz
•
KG - University
15 questions
Music 2016

Quiz
•
KG - 12th Grade
44 questions
logos

Quiz
•
KG - University
20 questions
Disney Characters

Quiz
•
KG
20 questions
Kids shows

Quiz
•
KG
20 questions
Guess that Disney

Quiz
•
KG - 5th Grade
20 questions
Cartoon Characters!

Quiz
•
KG - 5th Grade