Cách nào sau đây là cách hợp lệ để bắt đầu định nghĩa hàm trong Python?

CTC_python

Quiz
•
vungoc ha
•
Information Technology (IT)
•
10th Grade
•
1 plays
•
Easy
34 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
def some_function()
function some_function()
function some_function():
def some_function():
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Chương trình sau in ra kết quả gì?
8
5
21
18
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Chương trình sau in ra kết quả gì?
13
21
5
Không in gì
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Lệnh gọi hàm nào sau đây là đúng?
x=square( )
x=Square(4):
x=square(5)
print(square())
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Trong Python, để khai báo hàm ta sử dụng từ khóa nào sau đây?
A. procedure
B. function
C. def
D. return
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu lệnh return dùng để?
Kết thúc vòng lặp
Trả lại giá trị
Kết thúc vòng lặp và trả lại giá trị
Kết thúc hàm và trả lại giá trị
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Create a free account and access millions of resources
Similar Resources on Quizizz
Popular Resources on Quizizz
39 questions
Respect and How to Show It

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
10 questions
Human Body Systems and Functions

Interactive video
•
6th - 8th Grade
20 questions
Multiplication Facts

Quiz
•
3rd Grade
Discover more resources for Information Technology (IT)
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
20 questions
Investing

Quiz
•
9th - 12th Grade
20 questions
Insurance

Quiz
•
9th - 12th Grade
20 questions
Common Grammar Mistakes

Quiz
•
7th - 12th Grade
20 questions
Paying for College

Quiz
•
9th - 12th Grade
15 questions
Central Tendency

Quiz
•
9th - 12th Grade
20 questions
Banking

Quiz
•
9th - 12th Grade