Answers for "how to copy python string"

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

Python Answers by Framework

Browse Popular Code Answers by Language