Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

Python String Operations

# Python String Operations
str1 = 'Hello'
str2 ='World!'

# using +
print('str1 + str2 = ', str1 + str2)

# using *
print('str1 * 3 =', str1 * 3)
Source by docs.python.org #
 
PREVIOUS NEXT
Tagged: #Python #String #Operations
ADD COMMENT
Topic
Name
6+3 =