Alright, I know how to print variables and strings. But how can I print something like \"My string\" card.price (it is my variable). I mean, here is my code: print \"
print \"
Assuming you use Python 2.7 (not 3):
print "I have", card.price (as mentioned above).
print "I have", card.price
print "I have %s" % card.price (using string formatting)
print "I have %s" % card.price
print " ".join(map(str, ["I have", card.price])) (by joining lists)
print " ".join(map(str, ["I have", card.price]))
There are a lot of ways to do the same, actually. I would prefer the second one.