Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@nyunerrr
Created May 22, 2020 13:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nyunerrr/787638f2574698a05f9d01de2812243c to your computer and use it in GitHub Desktop.
Save nyunerrr/787638f2574698a05f9d01de2812243c to your computer and use it in GitHub Desktop.
def Q11(n):
return n[0:3]
#スライスを使えば簡単に実装できます。
#Pythonの文字列操作でスライスは頻出です。
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment