if __name__ == "__main__":
# 6.1
print("This is a test".replace(" ", "-"))
# 6.2
s1 = "Hello, World"
print(s1[s1.find(",")::-1])