fonkensemble

decode

Jan 4th, 2026
43
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. import sys
  2.  
  3.  
  4. def decode_str():
  5. with open("words.txt", "r") as f:
  6. words = " ".join(f.readlines())
  7. print("----- number of words:", len(words.split(',')))
  8. decode_l = ["dc " + w.strip() for w in words.split(',')]
  9. print("::".join(decode_l))
  10.  
  11.  
  12. if __name__ == '__main__':
  13. decode_str()
Advertisement
Add Comment
Please, Sign In to add comment