how to use 2b with strings

Solutions on MaxInterview for how to use 2b with strings by the best coders in the world

showing results for - "how to use 2b with strings"
Luce
23 May 2020
1# + is an overloaded operater, meaning it has more than one meaning
2 
3firstStr = "This is an "
4secondStr = "example."
5# + can join two strings end to end 
6example = firstStr + secondStr
7print(example)
8# Output -> This is an example. 
9
10#other things you can do
11other1 = firstStr + "apple"
12other2 = "Stri" + "ng"
similar questions
queries leading to this page
how to use 2b with strings