Pass or fail · Trượt hay đậu
Pass or fail
mark is 47. Print pass when the mark is 50 or more, and fail otherwise.
else catches everything the if did not. It takes no condition of its own — just else: — and its own indented line underneath.
Đạt hoặc không đạt
mark là 47. In pass khi điểm số là 50 hoặc nhiều hơn, và fail trong trường hợp khác.
else bắt giữ mọi thứ mà if không xử lý. Nó không có điều kiện riêng nào — chỉ else: — và có dòng thụt vào trong riêng của nó bên dưới.
mark is 47. Print pass when the mark is 50 or more, and fail otherwise. · mark là 47. In pass khi điểm số là 50 hoặc nhiều hơn, và fail trong trường hợp khác.
Click Run to see the output here. · Nhấn Chạy để xem kết quả ở đây.