A list is a collection of variables. Let’s use the example of a string. A string is a variable that stores a string of alphanumeric characters and symbols. This is used to store such things as names ...
「データをまとめる場所」だということはなんとなくわかっていた。 Pythonではリストに事前宣言がいらない。 昔は DIM や INTEGER で先に型やサイズを宣言していたけど、 Pythonでは、すぐに fruits = [...] のように書き始められる。 リストにデータを追加するappend ...