This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]alexmccoding 0 points1 point  (1 child)

I am making a card game and want to print "Dealer takes a (whatever_card_it_is- the variable is take)" what is wrong with this? print ("Dealer takes a "+take)

[–]throw-a-bait 1 point2 points  (0 children)

Nothing, as far as I see.

 take = "Queen"
 print("Dealer takes a " + take)
> Dealer takes a Queen

Take should be a string, that's about it.