📜  python 强类型 - Python 代码示例

📅  最后修改于: 2022-03-11 14:46:40.584000             🧑  作者: Mango

代码示例1
name: str = 'Kara Denvers'
rating: int = 10
power: float = 9000.01
is_superHero: bool = True
places_of_work: list[str] = ["Catco", "DEO"]