Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Get count
#python 3.5.2 def get_count(): n = int(input()) for i in range(n): s = input().strip() if not i: l = list(set(s)) else: i = 0 while l and i < len(l) - 1: ch = l[i] if not ch in s: l.remove(ch) else: i += 1 return len(l) count = get_count() print(count)
run
|
edit
|
history
|
help
0
Filtering texts within brackets
E
Guessing game
snake water gam correct
string without space into list
fb_series
Patterns
print
Lesson 2
Yyy