Farz0l1x

Untitled

Feb 17th, 2023
155
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.15 KB | None | 0 0
  1. file = open("244.txt")
  2. s = file.readline()
  3. print('BA' + 'BCA' * 2 in s)
  4. print('CBA' * 1 in s)
  5. print('BBA' * 2 in s)
  6. print('BA' + 'CCA' * 2 + 'B' in s)
Advertisement
Add Comment
Please, Sign In to add comment