Official
A - 化繊のリボン / Synthetic Fiber Ribbon Editorial
by
A - 化繊のリボン / Synthetic Fiber Ribbon Editorial
by
harurun4635
Editorial for printing
\(A\) が \(B\) の倍数かどうかを判定すればよいです。これは以下のようにできます。
実装例
a, b = map(int, input().split())
print("Yes" if a % b == 0 else "No")
posted:
last update: