08 2020 档案
摘要:1.输入 语法:input('提示信息') 注意:input()接收到的数据都是字符串 password = input('请输入密码:') print(f'你的密码是{password}') print(type(password)) 2.转换数据类型 int(x):将数据类型转换为int型 nu
阅读全文
摘要:1.注释 python的的注释方式有单行注释,有多行注释 单行注释(用#注释): #单行注释 print('hello python!') 多行注释: 1)用6个单引号注释 ''' 多行注释 6个单引号 ''' print('hello word!') 2)用6个双引号注释 """ 多行注释 6个双
阅读全文

浙公网安备 33010602011771号