资源简介 (共17张PPT)2021浙江教育出版社信息技术八(上)第3课 算数运算符和表达式罗海燕厦门市音乐学校Python沸F100-10020-21220017070000110结冰200000000000123210开始∠输入华氏温度值E温度转换输出摄氏温度值C结束常见错误类型示例表错误示例错误提示出错原因print( hello)Syntax Error EOL while scanning stringliteral引号不匹a=(1+(2/3)*4yntax Error: unexpected EOF while parsiFloat对象不能调动,缺C=(5/9)(F-32)Type Error: float" objeclabs多个输出对象中间缺ntax Error Invalid syupported operand type(s)fe符串“str"不支持减法5/9)*(上-32)it算L三位数数字海燕/D数数字File Edit Format Run Options Window Helpx=int( input(输入3位数的自然数:2)a=x//100#百位上的数字b=x//10%10#十位上的数字C=x%10#个位上的数字print(a, b, c, sep=File Edit Shel Debug Options Window HelpPython3.6.5(v3.6.5:f59c0932b4,Mar28204) on win32Type copyright,credits" or o>>RESTART:C:/ Users/海燕输入3位数的自然数:6586,5,8>> 展开更多...... 收起↑ 资源预览