Quick actions

cmd+k|ctrl+k

Navigation

Languages

Hentai-girl-word

Snippet info

Language

Python

Visibility

public

Author

liutgrow.hd

Created

2020-06-30T14:48:05Z

Updated

2020-06-30T19:12:42Z

import random

words = open("words.txt", "r")
trans_words = open("transwords.txt")

lines = words.readlines()
trans_lines = trans_words.readlines()

line_count = len(lines) - 1

text = trans_text = " "

for i in range(random.randrange(30, 50)):
    line = random.randrange(0, line_count)
    text += lines[line].rstrip("\n") + " "
    trans_text += trans_lines[line].rstrip("\n") + " "
    
print(text + "\n\n" + trans_text)
INFO