# Replace a character in string

# option->1
# s = "hello"
# new_s = ""

# current_char = "l"
# new_char = 's'

# for i in s:
#     if i == current_char:
#         new_s += new_char
#     else:
#         new_s += i
# print(new_s)


# optio->2

# s = 'Python'

# current_char = "P"
# new_char = "a"

# print(s.replace(current_char, new_char))

# option ->3
s = 'Hesso'
print(s.replace('s', 'l'))
