0
Concatenate
How to concatinate two same or different strings
3 odpowiedzi
+ 3
a = "Hello"
b = "World!"
print (a, b)
print (a+ b)
"," adds a space in between while "+" does not.
0
with different data types
ex. if I want to print
sum is : 10
0
a = "sum is :"
b = 10
print(a,b)