約49,200件1ページ目

日本語のみで絞り込む

条件を指定して検索しています。すべての条件を解除する

  • 最終更新日:1か月以内
  • 2026/10/23 -When you create sets using the set() constructor, the argument must be iterable. The constructor unpacks the iterable and adds its items to the resulting set as ...

    2026/10/21 -Set is a built-in Python data type used to store a collection of unique items. Stores only unique elements; duplicate values are automatically removed.

    4日前 -A set is an unordered collection where every element appears exactly once. You create one with curly braces or the set() constructor. Once you have two or more ...

    4日前 -Python set is an unordered and unindexed collection of elements. Learn how to create a Set, access and remove elements, union, intersection, difference of ...

    2026/11/4 -Use tuples for fixed ordered groupings and sets for unique membership, and explain ordering, mutability, unpacking and hashable-item requirements. Build ...

    2026/10/23 -Unlike dicts, sets do not keep an ordered entries array, so set iteration order is arbitrary and, for strings, varies between runs. Set algebra has its own ...

    2026/10/25 -To sort a Python dictionary by its keys, you use the sorted() function combined with .items() . This approach returns a list of tuples sorted by keys, which you ...

    5日前 -Lists are ordered collections of items · Items can be of different data types (numbers, strings, even other lists) · Lists are mutable (can be changed) · Lists are ...

    2026/10/22 -Choose lists, dictionaries, sets, deque, and heaps deliberately. Practice readable Python solutions with clear time and memory analysis.

    2026/11/2 -Remember: dictionaries preserve insertion order in Python 3.7+. Also, {} creates an empty dictionary. Use set() for an empty set! Save this cheat ...