Is there a way to print the math that makes an integer in Python?

前端 未结 0 557
礼貌的吻别
礼貌的吻别 2021-01-30 01:16

Suppose I have this code:

int1 = (2 + 2) * 4
print(int1)

OUTPUT: 16

But is there a way to print the math of the int without using a string inste

相关标签:
回答
  • 消灭零回复
提交回复
热议问题