Last active
September 8, 2018 03:19
-
-
Save hillal20/ec4867a935da5c23a88ae54a6141ec88 to your computer and use it in GitHub Desktop.
AdmiredDishonestConditions created by hillal20 - https://repl.it/@hillal20/AdmiredDishonestConditions
This file contains hidden or 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
import functools | |
log = 'aadadhsbsgsbshhhhhhobobo' | |
l= list(log) | |
r = list(reversed(l)) | |
arr = [] | |
rev = [] | |
pl = [] | |
an = [] | |
st = '' | |
f = 0 | |
def total(x, y): | |
return x+y | |
# print(l) | |
#print(r) | |
for i in l: | |
arr.append(i) | |
rev = list(reversed(arr)) | |
print('rev ==>',''.join([i for i in rev])) | |
print ('arr==>',''.join([i for i in arr])) | |
if ''.join([i for i in rev]) == ''.join([i for i in arr]): | |
pl.append(''.join([i for i in rev])) | |
print('pl====>', pl) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment