PTA Python习题笔记01
发布日期:2021-05-10 11:45:58 浏览次数:19 分类:精选文章

本文共 1245 字,大约阅读时间需要 4 分钟。

���1���-2 ���������������������������a,b,c���������������������b��-4ac������������

������������������������������������a, b, c���������������������������b��-4ac���������������������map������������������������������������������������������������������������������������

import math
a, b, c = map(int, input().split())
d = b**2 - 4*a*c
print(d)

���������input().split(' ')������������������������������������������������������������map(int, ...)������������������������������������������������������������������b��-4ac���������������**���������������������b**2���

���1���-3 ���������Python���������������������

������Python���print���������������Python���������������������������������������������������������������������������������������

s = "���������������������Python"
print(s.encode("utf-8"))

���2���-9 ���������������������������

���������������������������������������������������������������������������������������������->������������

print(*sorted(map(int, input().split())), sep="->")

���������������input().split()���������������������������������������������������map(int, ...)������������������������������������sorted()������������������������������������������print(*sorted_list, sep="->")���������������������������->������������

上一篇:Python 列表 笔记
下一篇:bugku杂项解题(边学边更新)

发表评论

最新留言

做的很好,不错不错
[***.243.131.199]2025年04月28日 19时03分21秒