【1-1】
▲整数
-------------------
>>> a = 5
>>> print(a)
5
>>> type(a)
<type 'int'>
-------------------


▲小数
-------------------
>>> a = 5.0
>>> print(a)
5.0
>>> type(a)
<type 'float'>
-------------------


▲文字列
-------------------
>>> a = "Hello World"
>>> print(a)
Hello World
>>> type(a)
<type 'str'>
-------------------


▲変数同士の代入
-------------------
>>> a = 5
>>> b = a
>>> print(b)
5
>>> type(a)
<type 'int'>
>>> type(b)
<type 'int'>
-------------------

【1-2】
▲辞書
-------------------
>>> a = {'A':1,'B':'apple'}
>>> print(a)
{'A': 1, 'B': 'apple'}
>>> type(a)
<type 'dict'>
-------------------


▲変数の内容の表示
-------------------
>>> a = 5
>>> print('a')
a
>>> type('a')
<type 'str'>
>>> print("a")
a
>>> type("a")
<type 'str'>
-------------------


▲リスト
-------------------
>>> a = [1,2,3]
>>> print(a)
[1, 2, 3]
>>> type(a)
<type 'list'>
-------------------


▲タプル
-------------------
>>> a = (1,2,3)
>>> print(a)
(1, 2, 3)
>>> type(a)
<type 'tuple'>
-------------------


▲リストとタプルの違い
-------------------
>>> a = [’c’, ’a’, ’b’]
>>> print(a)
['c', 'a', 'b']
>>> a = (’c’, ’a’, ’b’)
>>> print(a)
('c', 'a', 'b')
-------------------

-------------------
>>> a = [’c’, ’a’, ’b’]
>>> a.sort()
>>> print(a)
['a', 'b', 'c']
-------------------

-------------------
>>> a = (’c’, ’a’, ’b’)
>>> a.sort()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: 'tuple' object has no attribute 'sort'
-------------------


▲タプルからリストへの変換
-------------------
>>> a = (’c’, ’a’, ’b’)
>>> b = list(a)
>>> b.sort()
>>> print(b)
['a', 'b', 'c']
-------------------


【1-3】
▲文字列
-------------------
>>> print("Hello World")
Hello World
-------------------


▲数字
-------------------
>>> print(1234567890)
1234567890
-------------------


▲文字列の連結
-------------------
>>> print('Hello','World.com', sep='@')
Hello@World.com
-------------------


▲多数の文字列を連結
-------------------
>>> print("a","b","c","d","e","f",sep=",")
a,b,c,d,e,f
-------------------


▲改行の制御
-------------------
>>> print('09','12', sep='-', end='\t')
09-12   >>>
-------------------


【1-4】
▲datetimeライブラリ
-------------------
>>> import datetime
>>> print(datetime.date.today())
2020-12-04
>>> type(datetime.date.today())
<class 'datetime.date'>
-------------------