浙大版《Python 程序设计》题目集第一章答案(自用)
2020-03-06 16:02
393 查看
第1章-1 从键盘输入两个数,求它们的和并输出 (30分)
a = int(input()) b = int(input()) print(a+b)
第1章-2 从键盘输入三个数到a,b,c中,按公式值输出 (30分)
list1 = input().split() a = int(list1[0]) b = int(list1[1]) c = int(list1[2]) print(b*b-4*a*c)
第1章-3 输出“Python语言简单易学” (10分)
s = "Python语言简单易学" print(s.encode("utf-8"))
- 点赞
- 收藏
- 分享
- 文章举报
相关文章推荐
- 浙大版《Python 程序设计》题目集第四章21-30答案(自用)
- 浙大版《Python 程序设计》题目集第四章11-20答案(自用)
- 浙大版《Python 程序设计》题目集第四章1-10答案(自用)
- 浙大版《Python 程序设计》题目集第三章答案(自用)
- PTA-浙大版《Python 程序设计》题目集-第3章-16 删除重复字符 (20分)
- 浙大版《Python 程序设计》题目集 第4章-6 输出前 n 个Fibonacci数 (15分)
- 【PTA】【浙大版《Python 程序设计》题目集】 7-9 求矩阵鞍点的个数 (30 分)
- 【PTA】【浙大版python程序设计 题目集】7-14 求整数段和 (15 分)
- PTA-浙大版《Python 程序设计》题目集-第3章-2 查验身份证 (15分)
- 浙大版《Python 程序设计》题目集 第4章-4 验证“哥德巴赫猜想” (20分)
- 浙大版《Python 程序设计》题目集 第5章-3 四则运算(用字典实现) (30分)
- 浙大版《Python 程序设计》题目集索引
- 浙大版《Python 程序设计》题目集 第4章-15 换硬币 (20分)
- 浙大版《Python 程序设计》题目集 第4章-30 找完数 (20分)
- 浙大版《Python 程序设计》题目集 第4章-14 统计字符 (15分)
- 浙大版《Python 程序设计》题目集 第4章-28 矩阵转置 (10分)
- PTA】【浙大版《Python 程序设计》题目集】第6章函数-5 使用函数求余弦函数的近似值 (20 分)
- 浙大版《Python 程序设计》题目集 第4章-27 二维数组中每行最大值和每行和 (10分)
- 【PTA】【浙大版《Python 程序设计》题目集】7-8 *6-7 输出全排列 (20 分)
- 浙大版《Python 程序设计》题目集 编程题第一章