---
# System prepended metadata

title: 'W04: 3/07'

---

W04: 3/07
===

### [Python的資料型態 (Python Data Types)](https://www.w3schools.com/python/python_datatypes.asp)

> 文本類(Text Type): `str`
> 數值類(Numeric Types): `int`, `float`, `complex`
> 序列類(Sequence Types): `list`, `tuple`, `range`
> 映射類(Mapping Type): `dict`
> 集合類(Set Types): `set`, `frozenset`
> 布爾類(Boolean Type): `bool`
> 二進制類(Binary Types): `bytes`, `bytearray`, `memoryview`

---

### [Python鑄造 (Python Casting)](https://www.w3schools.com/python/python_casting.asp)

Casting把某個内容印轉成某個資料形態(見上表)
> x = str(3)    # x will be '3'
> y = int(3)    # y will be 3
> z = float(3)  # z will be 3.0

### `作業`

[數串排序](https://colab.research.google.com/drive/1Ptb2ZjY3bCV24fyRvMaUyb5F3pXIJ25y)