カテゴリー:
Data Structures
閲覧数:249 配信日: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 | AttributeError: module 'sys' has no attribute 'setdefaultencoding' | AttributeError(エラー) | 1 |
1 | AttributeError: type object 'datetime.datetime' has no attribute 'datetime' | AttributeError(エラー) | 1 |
1 | データ構造 | Data Structures | 1 |
1 | マッピング型 | 1 |
1 | 機能別分類 | 1 |
2025/9/16 1:01 更新 |