Created
September 5, 2018 01:26
-
-
Save Alexis117/9061a0251982e1e72096abed5696f9cb to your computer and use it in GitHub Desktop.
E2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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