カテゴリー:
Data Structures
閲覧数:268 配信日:2017-12-12 11:45
文字列型 / str
文字列を値として格納する変数のタイプ
data = "あ"
data = "あ"
print(type(data)) #<class 'str'>
data = 'あ'
data = 'あ'
print(type(data)) #<class 'str'>
Python
data = "あ"
print(type(data)) #<class 'str'>
data = 'あ'
print(type(data)) #<class 'str'>
| 順位 | ページタイトル抜粋 | アクセス数 |
|---|---|---|
| 1 | _csv.Error: iterator should return strings, not bytes (did you open the file in text mode?) | エラー | 1 |
| 1 | ゲストコメント一覧ページ | 1 |
| 2025/12/18 1:02 更新 |