Last active
March 8, 2017 17:50
-
-
Save savolla/3f2b38ffb002930dd13866479d3da6d3 to your computer and use it in GitHub Desktop.
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
#savolla and his playground. | |
#whats the differance between the first and second lines? | |
#this program tells us the answer | |
#let's say we want to see not repetitive characters | |
first_line = "hdfjsgkfffgklf25kso3fgşslkdfjdsşlkydfhfgjfurıurrljhpw" | |
second_line = "rğıyooooooooncxbnb909brmrgpoıunrnpn4yyyyyyyyyyckdlsd" | |
difference = "" | |
for i in first_line: | |
if i not in second_line: | |
if i not in difference: | |
difference += i | |
print(i) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment