摘要:条件表达式 # coding:utf-8 # author : 写bug的盼盼 # development time : 2021/8/28 7:38 num_a = input('请输入第一个整数') num_b = input('请输入第二个整数') # 比较大小 '''if num_a >=
阅读全文
摘要:coding:utf-8 author : 写bug的盼盼 development time : 2021/8/28 7:16 print(4&8)#非1即0 print(4|2)#同0即0,否则相加 print(4<<1)# 向左移动一个位置乘以2 print(4<<2)# 向左移动两个位置乘以2
阅读全文
摘要:代码部分 # coding:utf-8 # author : 写bug的盼盼 # development time : 2021/8/28 6:55 present = input('你想要什么?') print(present,type(present)) demo两数相加add # 输入两个数字
阅读全文
摘要:数据类型 author : 写bug的盼盼 development time : 2021/8/27 19:59 变量定义 name = ‘阿哈’ print(name) print(‘标识’,id(name)) # >内存地址 print(‘类型’,type(name))# 数据类型 print(
阅读全文
摘要:author : 写bug的盼盼 development time : 2021/8/27 19:59 变量定义 name = ‘阿哈’ print(name) print(‘标识’,id(name)) # >内存地址 print(‘类型’,type(name))# 数据类型 print(‘值’,n
阅读全文
摘要:author : 写bug的盼盼 development time : 2021/8/27 19:41 输出数字 print(520) 输出字符串 print(‘HelloWorld’) print(“Hello”) 输出含有运算符的表达式 print(3+1) 将数据输出文件中 fp = open
阅读全文
摘要:安装宝塔SSH客户端 成功登录之后如下: 输入以下命令重置密码(把命令最后面的 “testpasswd” 替换成你要改的新密码) cd /www/server/panel && python tools.py panel testpasswd 紫框即你要修改的密码 红框即面板账户 如果提示多次登录失
阅读全文