python中输出变量

1、

>>> a = 100
>>> b = 200
>>> print(a,b)
100 200
>>> print("the score is:",a)
the score is: 100
>>> print(f"the score is:{a}")
the score is:100
原文地址:https://www.cnblogs.com/liujiaxin2018/p/14444087.html