Sublime Forum

Help with Strings

#1

Hi guys, I’m completely new to programming so I apologize if anyone finds this ridiculously easy. I am learning from this book and I can’t combine strings. So I type in

first_name = “aka”
last_name = “vesely”
full_name = first_name + " " +last_name

print(full_name)

That’s what the book suggest but every time I get error

le “/Users/TommyVes/Desktop/pythonwork/name.py”, line 12, in
print("Hello, " + full_name.title() + “!”)
TypeError: ‘str’ object is not callable

Please help,
Thank you

0 Likes

#2

Please include your entire source code.

0 Likes