diff --git a/README.md b/README.md index 67e3356..5219337 100644 --- a/README.md +++ b/README.md @@ -361,11 +361,11 @@ float('inf'), float('nan') ### Random ```python -import random - = random.random() - = random.randint(from_inclusive, to_inclusive) - = random.choice() -random.shuffle() +from random import random, randint, choice, shuffle + = random() + = randint(from_inclusive, to_inclusive) + = choice() +shuffle() ```