jeudi 24 décembre 2020

Write a function that takes a string which contains only 0, 1, x and returns a new string after changing the old one value as follow [closed]

Write a function that takes a string which contains only 0, 1, x and returns a new string after changing the old one value as follow for 0 value should be turned into 1 and vice verse but for x should remain the same

Aucun commentaire:

Enregistrer un commentaire