Skip to content

Instantly share code, notes, and snippets.

@Alexis117
Created September 5, 2018 01:26
Show Gist options
  • Save Alexis117/9061a0251982e1e72096abed5696f9cb to your computer and use it in GitHub Desktop.
Save Alexis117/9061a0251982e1e72096abed5696f9cb to your computer and use it in GitHub Desktop.
E2
#Python
#string='Cadena con subcadenas'
substring=''
for i in string:
if i in substring:
break
substring=substring + i
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment