profile picture

Anonymous

upvote

0

downvote

0

star

Chương trình của em khi chạy phát sinh lỗi ngoại lệ ZeroDivisionError

clock icon

- asked 6 months agoVotes

message

0Answers

eye

0Views

Luyện tập 1 trang 148 Tin học 10: Chương trình của em khi chạy phát sinh lỗi ngoại lệ ZeroDivisionError. Đó là lỗi gì và em xử lí lỗi này như thế nào?

Trả lời:

Lỗi ngoại lệ ZeroDivisionError là lỗi chia cho số 0.

Xử lý: Kiểm tra số chia để loại bỏ trường hợp có giá trị bằng 0

Bài tập liên quan

Write your answer here

© 2025 Pitomath. All rights reserved.