Albuqer chng
Jump to navigation
Jump to search
albuqer chng is an easier version of albuquerque challenge also by user:tommyaweosme
how it works
letters cant repeat
for example, if you were to use this sentence:
i am awesome person. am i cool? i guess i am
it would turn into
i am weso prn. cl? gu
implementations
Python 3, still by _i__s__l__p__t__n__g_
a = input() alphabet = "abcdefghijklmnopqrstuvwxyz" oncel = [] for i in range(len(a)): if a[i] not in alphabet: print(a[i],end="") continue if a[i] not in oncel: oncel.append(a[i]) print(a[i],end="")