cpython/Lib/packaging/tests/fake_dists/grammar-1.0a4/grammar/utils.py

9 lines
162 B
Python

# -*- coding: utf-8 -*-
from random import randint
def is_valid_grammar(sentence):
if randint(0, 10) < 2:
return False
else:
return True