Skip to content

Instantly share code, notes, and snippets.

@abul4fia
Created December 27, 2021 08:34
Show Gist options
  • Save abul4fia/da8cf279f39d4d9492869ab83510dd6f to your computer and use it in GitHub Desktop.
Save abul4fia/da8cf279f39d4d9492869ab83510dd6f to your computer and use it in GitHub Desktop.
AllKeysNames = ['Fondo', 'Cuerpo', 'Ojos', 'Color', 'Pinzas', 'Puas']
Keys_input = []
while len(AllKeysNames) > 1:
print(AllKeysNames)
ele = input("Elige uno: ")
if ele not in AllKeysNames:
print("No válido")
continue
Keys_input.append(ele)
AllKeysNames.remove(ele)
Keys_input.append(AllKeysNames[0])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment