a, b = map(int, input().split())
"""
1.以空格键分隔字符串用split()
2.将分隔的字符串转化为int型,用map()迭代
"""
print(a // b, a % b)
Python:啥都行,啥也不行
a, b = map(int, input().split())
"""
1.以空格键分隔字符串用split()
2.将分隔的字符串转化为int型,用map()迭代
"""
print(a // b, a % b)
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)