Answers for "how to create the copy of a string in python"

0

python string copy

a = 'foo'
b = 'bar'
print(2*a)
foofoo
print(a+a)
foofoo
r = b
print(r)
bar
Posted by: Guest on July-23-2021

Code answers related to "how to create the copy of a string in python"

Python Answers by Framework

Browse Popular Code Answers by Language