为 python中的print设置命令别名?

p = print
d = 10
d *= 1 + 2
p(d)  # 30

  

 

posted @ 2023-05-17 16:55  sangern  阅读(43)  评论(0)    收藏  举报