I need my program to replace a certain - with a variable. I've tried this but it replaces the whole thing with the varibale.
jelenleg = 8 * "-"
x = 0
guess = c
jelenleg = jelenleg[x].replace("-", guess)
print(jelenleg)
So I need this to happen:
before: --------
after: c-------
But instead what I get is this: c