⌨️[AtCoder]ABC-168|A - ∴ (Therefore)2023/03/15に公開・約300字ツイートPythonAtCoder#abctech 設問ページ 🔗ABC-168 A - ∴ (Therefore) 提出結果 def getInt(): return int(input()) def main(): n = getInt() n %= 10 print('bon' if n == 3 else 'pon' if n in [0, 1, 6, 8] else 'hon') if __name__ == "__main__": main() ツイートDiscussionログインするとコメントできますLogin
Discussion