⌨️[AtCoder]ABC-168|B - ... (Triple Dots)2023/03/15に公開・約300字ツイートPythonAtCoder#abctech 設問ページ 🔗ABC-168 B - ... (Triple Dots) 提出結果 def getInt(): return int(input()) def getString(): return input() def main(): k = getInt() s = getString() print(s[:k] + ('...' if len(s) > k else '')) if __name__ == "__main__": main() ツイートDiscussionログインするとコメントできますLogin
Discussion