I have this code in Python that, supposedly, is just fine. Yet it runs into the same error over and over. I'm new to programming, and therefore likely missing something very obvious; but I still would like help!
#list example
S1 = "ABCDEF"
List = ['G','H','I']
if "ABCDEF" in S1:
List.remove('G')
Updated = List.remove('G')
Print(Updated)
Edit: Nevermind, I found the solution! Sorry for the disturbance!