2
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

pythonで競技プログラミング

Posted at

#Pythondで競技プログラミング
pythonで競技プログラミングに挑戦中の筆者が使ったpythonのメソッドを備忘録的に記載していきます。

使用したメソッド

listの末尾に要素を追加 append()
listの重複を取り除いたlistを取得

x = [1, 3, 5, 5,]
list(set(x))
# x = [1, 3, 5]
2
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?