python安装与环境部署
Windows中安装
1.安装python解释器
首先在官网下载解释器并选择合适版本
2.安装如图
随后进行安装即可
2.安装pycharm
在安装界面勾选create desktop选项以及.py选项
3.python的数据类型
number:数字
整型: int 1,2, 3, 0, -1, -2,
浮点型: float 1.11, 0.22
复数:complex a + bj
字符串:str
1.1, 1, '1.1', "1"
''或者""或者'''或者""" 123, 1'2'3
字节:bytes: b'\xe4\xb8\xad\xe6\x96\x87'
布尔: bool: True , False
空: None
复杂的数据类型:
tuple: 元组
list: 列表
dict: 字典
set: 集合
作者:半糖好好喝
来源链接:https://blog.csdn.net/m0_64771829/article/details/125081491