📜  python 查找最大变量 - Python 代码示例

📅  最后修改于: 2022-03-11 14:45:57.243000             🧑  作者: Mango

代码示例2
x = 1
y = 2
z = 3
var = {x:"x",y:"y",z:"z"}
max(var)
var.get(max(var))
var.get(min(var))
----OUTPUT----
3
z
x