Hàm print() trong Python dùng để làm gì?

Kiến thức về hàm print() trong Python

Quiz
•
Information Technology (IT)
•
2nd Grade
•
Medium
Tâm Đức
Used 2+ times
FREE Resource
9 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Tính toán giá trị và trả về kết quả
In ra màn hình thông tin hoặc kết quả
Lưu trữ thông tin trong biến
Dừng chương trình
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Kết quả của đoạn mã sau sẽ là gì? print("Hello", "World")
HelloWorld
Hello World
Error
World Hello
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cách nào sau đây giúp in nhiều giá trị trong Python mà không có khoảng trắng giữa chúng?
print("Hello", "World", sep=",")
print("Hello", "World", end="")
print("Hello", "World", sep="")
print("Hello", "World", end=" ")
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Kết quả của đoạn mã sau là gì? print("Hello", "World", end="!")
Hello World
Hello World!
Hello World!!
Error
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Hàm print() trong Python có thể in được loại dữ liệu nào?
Chỉ số nguyên
Chỉ chuỗi
Chỉ danh sách
Tất cả các loại dữ liệu
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu lệnh nào sau đây sử dụng print() để in ra một dòng trống?
print()
print(" ")
print("")
print(None)
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
print("Python", "is", "fun", sep="-")
Python-is-fun
Python is fun
Error
Python--is--fun
8.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Kết quả của đoạn mã sau sẽ là gì? print("Hello", end=" ") print("World")
HelloWorld
Hello World
Error
HelloWorld!
9.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Kết quả của đoạn mã sau là gì? print("Welcome to Python", 2025)
Welcome to Python2025
Welcome to Python 2025
Error
2025 Welcome to Python
Similar Resources on Quizizz
10 questions
Ôn tập kiểm tra

Quiz
•
10th Grade
6 questions
Game Hoá Bài 7 SNLTW HP1

Quiz
•
6th - 8th Grade
9 questions
Увлекательный мир Python

Quiz
•
6th Grade - University
10 questions
Week2 上周知识点回顾

Quiz
•
University
11 questions
Các phép toán logic

Quiz
•
10th Grade
10 questions
Викторина по языку Python

Quiz
•
6th - 8th Grade
10 questions
TRẮC NGHIỆM VUI PYTHON

Quiz
•
10th Grade
11 questions
Quiz_P1_X-SIJA C

Quiz
•
10th 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 Information Technology (IT)
10 questions
American Flag

Quiz
•
1st - 2nd Grade
10 questions
Identifying equations

Quiz
•
KG - University
10 questions
2nd Grade math review

Quiz
•
2nd Grade
26 questions
Place Value Review

Quiz
•
2nd Grade
25 questions
2.4A Add Subtract within 20 quickly: set 3

Quiz
•
1st - 3rd Grade
12 questions
Summer Trivia

Quiz
•
1st - 5th Grade
15 questions
Music 2016

Quiz
•
KG - 12th Grade
44 questions
logos

Quiz
•
KG - University