Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

concatenation in python 3

first_name = 'Albert'
last_name = 'Einstein'
full_name1 = first_name + last_name
print(full_name1)
full_name2 = first_name + ' ' + last_name
print(full_name2)
# Output - AlbertEinstein
# Output - Albert Einstein
 
PREVIOUS NEXT
Tagged: #concatenation #python
ADD COMMENT
Topic
Name
8+4 =