How do I join two strings together?

Asked by emeka_nwankwo · 6 months ago

1 Answer

11
amorebise · 6 months ago Top Answer

Use the + sign. "Jollof" + " " + "Rice" becomes "Jollof Rice". We call this concatenation.

Just remember: you can only join strings to other strings. If you try to join a string to a number, Python will get angry. You have to convert the number to a string first!

Log in to add a comment.