Answers for "Python - String Concatenation"

9

python concatenate strings

x = ‘apples’
y = ‘lemons’
z = “In the basket are %s and %s” % (x,y)
Posted by: Guest on July-02-2020
1

Python - String Concatenation

a = "Hello"
b = "World"
c = a + b
print(c)
Posted by: Guest on February-28-2021
2

python concatenate strings

print “{0} {1} is {2} years old.” format(fname, lname, age)
Posted by: Guest on July-02-2020

Python Answers by Framework

Browse Popular Code Answers by Language