Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ra = []
- ask = []
- while True:
- s = input().split()[0]
- s = s.split(',')[0]
- t = s.lower()
- for i in range(len(t)):
- if t[i] == 'ё':
- t = t[:i] + 'е' + t[i+1:]
- #print(s,t)
- ra.append(s)
- ask.append(t)
- if s == 'stop':
- break
- wa = []
- for i in range(len(ask)):
- print(ask[i])
- s = input()
- if s == 'не':
- continue
- if s != ra[i]:
- wa.append( (ra[i], s))
- for i in wa:
- print (i)
- print(wa)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement