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
Raw Permalink Normal View History

2022-05-02 20:29:56 +02:00
s = "This is a test"
new_s = s.replace(' ','-')
print(new_s)
2022-05-03 20:04:16 +02:00
txt = "Hello, World" [-7::-1]
print(txt)