We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
- Prepare
- Python
- Strings
- Designer Door Mat
- Discussions
Designer Door Mat
Designer Door Mat
Sort by
recency
|
1841 Discussions
|
Please Login in order to post a comment
import math
N, M = map(int, input().split()) if (5 <= N <= 101 )and(N % 2 == 1): M = int(N*3) center_N = math.ceil(N/2) center_M = math.ceil(M/2) dash_num = center_M - 2