...kiến của một biến.
* Kiểm tra sự tồn tại của một tệp hoặc thư mục.
* Kiểm tra thành công của một cuộc gọi chức năng.
Cú pháp của một câu lệnh Assert như sau:
`` `Python
Khẳng định điều kiện, 'Tin nhắn'
`` `
Trong đó `Điều kiện` là biểu thức được kiểm tra và` `message` là thông báo lỗi sẽ...