⌨️
[AtCoder]ABC-147|A - Blackjack
設問ページ
提出結果
def getIntList():
return list(map(int, input().split()))
def main():
n = getIntList()
print('win' if sum(n) <= 21 else 'bust')
if __name__ == "__main__":
main()
def getIntList():
return list(map(int, input().split()))
def main():
n = getIntList()
print('win' if sum(n) <= 21 else 'bust')
if __name__ == "__main__":
main()
Discussion