This repository has been archived on 2022-05-03. You can view files and clone it, but cannot push or open issues/pull-requests.
PR3Python/python/s1/s1_a61_2.py

6 lines
103 B
Python

s = "This is a test"
new_s = s.replace(' ','-')
print(new_s)
txt = "Hello, World" [-7::-1]
print(txt)