I have the string "Bob" stored in a variable called name
.
I want to print this:
Hello Bob
How do I get that?
Let's say I have the code
name = "Bob"
print ("Hello", name)
This gives
('Hello', 'Bob')
Which I don't want. If I put in the code
name = "Bob"
print "Hello"
print name
This gives
Hello
Bob
Which is also not what I want. I just want plain old
Hello Bob
How do I get that?
I apologize in advance if this is a duplicate or dumb question.