カテゴリー:
Data Structures
閲覧数:284 配信日: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 | Python用語 | 16 |
| 2 | インポート | インポートシステム | 1 |
| 2 | AttributeError: type object 'datetime.datetime' has no attribute 'datetime' | AttributeError(エラー) | 1 |
| 2026/6/28 5:05 更新 |