摘要: 问题: 我使用的画图工具为 Draw.io 官网 下载地址 0.请根据以下代码画出对应的流程图: n = int(input("请输入一个数:")) print(n) 1. j = 0 while j < n-i: print(" ", end="") j = j + 1 2. 3.请创建一个 hw 阅读全文
posted @ 2022-06-27 15:08 DICEi 阅读(216) 评论(0) 推荐(0)
摘要: 问题: 0.请问下面表达式的值是什么? >>> 3 == not 5 报错 == 比 not 优先级高 所以出现了 3 == not 报错 1. >>> 3 or 5 and 0 3 先计算5 and 0 得到0 随后 3 or 0 根据短路逻辑可以得出是 3 2. >>> 3 and 5 + Tr 阅读全文
posted @ 2022-06-27 12:20 DICEi 阅读(82) 评论(0) 推荐(0)