Coding Global Background
Coding Global

can someone help me and tell me why my code isn't working as it should?

Archiviert a year ago
22 Nachrichten
3 Mitglieder
Erstellt a year ago
Aktualisiert a year ago
In Discord öffnen
F
ryn
Script Kiddie!
can someone help me and tell me why my code isn't working as it should? despite coddytech telling me it works perfectly

def change_element(lst, index, new_element):
  lst[index] = new_element
  return lst

x = list(input())
y = int(input())
z = input()
print(change_element(x, y, z))

Antworten (21)