BÀI TẬP 1F. TÍNH THƯƠNG LẤY PHẦN DƯ


Submit solution

Points: 50
Time limit: 1.0s
Memory limit: 256M

Problem type

Gemini_Generated_Image_zayr5czayr5czayr.png

Mô tả
Nhập vào hai số nguyên dương a và b. Em hãy tính số dư của phép chia a cho b.

Gợi ý
Em có thể dùng toán tử % trong Python để thực hiện phép chia lấy phần dư.

Đầu vào

Hai số nguyên a và b (mỗi số trên một dòng).
Đầu ra
Số dư của phép chia a cho b.
Ví dụ
Input:
10
3
Output:
1
**Gợi ý**
a = int(input())
b = int(input())
print(a ____ b)

Comments

There are no comments at the moment.