I have a list called x
below and I want to replace the ">" (in x[0][0]
) with the integer 1.
x = [">000#","#0#00","00#0#"]
I tried x[0][0] = 1
but it gives me an error.
Also, can I make x[0][2]
to become an integer such that
x[0][2] += 1
becomes this:
x = ["1010#","#0#00","00#0#"]