好吧,我知道如何打印变量和字符串.但是我如何打印"我的字符串"card.price(这是我的变量)之类的东西.我的意思是,这是我的代码: print "I have " (and here I would like to print my variable card.price).
print "I have " (and here I would like to print my variable card.price)
python printing
printing ×1
python ×1